diff options
author | 2017-09-29 12:55:42 -0400 | |
---|---|---|
committer | 2017-09-29 12:55:42 -0400 | |
commit | 0dfc1d4e6eb37aadaba47a210539b2438fba97f5 (patch) | |
tree | e0beee12909c581f06829060a93a72d6686ca730 /doc/bugs/adds_file_destined_for_annex_into_git_in___39__addurl__39__.mdwn | |
parent | bd2a9fb40ef0bbe812e8ea375a5caabd6e628ef2 (diff) |
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were last edited or commented before 2017.
Command line used:
for f in $(grep -l '|done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done
for f in $(grep -l '\[\[done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done
Diffstat (limited to 'doc/bugs/adds_file_destined_for_annex_into_git_in___39__addurl__39__.mdwn')
-rw-r--r-- | doc/bugs/adds_file_destined_for_annex_into_git_in___39__addurl__39__.mdwn | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/doc/bugs/adds_file_destined_for_annex_into_git_in___39__addurl__39__.mdwn b/doc/bugs/adds_file_destined_for_annex_into_git_in___39__addurl__39__.mdwn deleted file mode 100644 index a5cdfd6d6..000000000 --- a/doc/bugs/adds_file_destined_for_annex_into_git_in___39__addurl__39__.mdwn +++ /dev/null @@ -1,41 +0,0 @@ -### Please describe the problem. - -When addurl'ing a big file with .gitattributes configured to add only some files directly into git (and 'git annex add' operating correctly), addurl adds large files straight into git. - -### What version of git-annex are you using? On what operating system? - -git-annex version: 6.20161018+gitgf3c366a-1~ndall+1 - - -### Please provide any additional information below. - -[[!format sh """ -$> cat .gitattributes -* annex.backend=MD5E -* annex.largefiles=(largerthan=100kb) -*.json annex.largefiles=nothing -*.txt annex.largefiles=nothing -*.tsv annex.largefiles=nothing -*.nii.gz annex.largefiles=(largerthan=0kb) -*.tgz annex.largefiles=(largerthan=0kb) -*.tar.gz annex.largefiles=(largerthan=0kb) -*.gz annex.largefiles=(largerthan=0kb) - -$> git annex addurl http://fcp-indi.s3.amazonaws.com/data/Projects/HBNSSI/RawDataTars/sub-0031121_baseline.tar.gz\?versionId\=7FvexHgyazWF.dUo238FA7XRiK0FWQDw. -addurl fcp_indi.s3.amazonaws.com_data_Projects_HBNSSI_RawDataTars_sub_0031121_baseline.tar.gz_versionId_7FvexHgyazWF.dUo238FA7XRiK0FWQDw. (downloading http://fcp-indi.s3.amazonaws.com/data/Projects/HBNSSI/RawDataTars/sub-0031121_baseline.tar.gz?versionId=7FvexHgyazWF.dUo238FA7XRiK0FWQDw. ...) -/mnt/btrfs/datasets/datalad/crawl-misc/indi/ 100%[==============================================================================================>] 195.44M 21.2MB/s in 12s -(non-large file; adding content to git repository) ok -(recording state in git...) -cached/staged changes: - \u2026r.gz_versionId_7FvexHgyazWF.dUo238FA7XRiK0FWQDw. | Bin 0 -> 204937338 bytes - -$> ls -l fcp_indi.s3.amazonaws.com_data_Projects_HBNSSI_RawDataTars_sub_0031121_baseline.tar.gz_versionId_7FvexHgyazWF.dUo238FA7XRiK0FWQDw. --rw------- 1 yoh datalad 204937338 Oct 25 17:30 fcp_indi.s3.amazonaws.com_data_Projects_HBNSSI_RawDataTars_sub_0031121_baseline.tar.gz_versionId_7FvexHgyazWF.dUo238FA7XRiK0FWQDw. -cached/staged changes: - \u2026r.gz_versionId_7FvexHgyazWF.dUo238FA7XRiK0FWQDw. | Bin 0 -> 204937338 bytes - -"""]] - -[[!meta author=yoh]] - -> [[fixed|done]] --[[Joey]] |