Timeline for Double blind peer review when paper cites author's GitHub repo for code
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 11, 2019 at 12:55 | vote | accept | David Roberts | ||
Aug 10, 2019 at 18:55 | comment | added | Federico Poloni | @Voo No idea --- I am no git guru myself. | |
Aug 10, 2019 at 18:19 | comment | added | Voo | @Federico Personally I simply checkout the repository in the form I want it to be and then delete the .git folder, but good to know there's a command for that too ;) (how does archive deal with submodules for example?) | |
Aug 9, 2019 at 7:28 | comment | added | l0b0 |
@FedericoPoloni git rev-parse --show-toplevel gives you the top level directory of the repository, so this command will work when run anywhere within the repository. Other than that, I guess it depends whether you want a copy of the directory structure or an archive.
|
|
Aug 9, 2019 at 7:21 | comment | added | Federico Poloni |
@l0b0 Normally I would use git archive HEAD > filename.zip instead of your complicated command --- what's the advantage of this method?
|
|
Aug 8, 2019 at 22:57 | comment | added | l0b0 |
FWIW, I use this regularly to create a copy of a Git repo without any history at ../repo-name-copy from within that repo: git -C "$(git rev-parse --show-toplevel)" checkout-index --all --prefix="../$(basename "$(git rev-parse --show-toplevel)")-copy/" . You may also want to grep -r -e 'Author Name' -e 'Other Author Name' in the resulting directory, and do something like sed -i 's/Jane Doe/Author 1/g;s/Joe Bloggs/Author 2/g' PATH to replace names.
|
|
Aug 8, 2019 at 21:57 | comment | added | David Roberts | @NichtJens even worse, because the arXiv number doesn't include an author's name. | |
Aug 8, 2019 at 16:10 | comment | added | NichtJens | OK, I see what you mean. The equivalent to the cited repo would be to mention the pre-print in the submission (e.g. "A pre-print of this paper is available as arxiv:1234.12345."). | |
Aug 8, 2019 at 16:05 | comment | added | usul | @NichtJens in the age of arxiv, this often works with paper titles too, and it's ok. The authors just have a responsibility to allow the reviewer to proceed double-blind. | |
Aug 8, 2019 at 15:37 | comment | added | NichtJens | If the referees wants to, this is obfuscation is easily circumvented: take any non-trivial part of the code (one expressive function name or comment is enough) and drop it into google. | |
Aug 8, 2019 at 7:33 | history | answered | Federico Poloni | CC BY-SA 4.0 |