Summary: | ecopy does not copy subdirectories under files/ | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Qiangning Hong <hongqn> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | earcar, jlec |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch for ecopy script to download all aux files
a patch to get files in subdirectory |
Description
Qiangning Hong
2008-05-23 05:25:15 UTC
Created attachment 154035 [details, diff]
patch for ecopy script to download all aux files
I wrote a rough patch for ecopy script to download all AUX files mentioned in Manifest file.
(In reply to comment #1) > I wrote a rough patch for ecopy script to download all AUX files mentioned in > Manifest file. This is a bad thing for the prefix tree. In lighttpd's case, we don't want ALL the files. We only want ${FILESDIR}/${PVR} not the rest of the dirs. Make sense? /me should check his email first ;-) Basically, I agree with grobian[1]. And I don't really have a better idea for how to accomplish this ATM, although I *do* think it is a good idea. [1]: http://archives.gentoo.org/gentoo-alt/msg_2b168af02a294179508b6e4f115f8d18.xml Created attachment 157961 [details, diff]
a patch to get files in subdirectory
I met this problem and wrote a patch, then found this bug.
This patch doesn't get all files in FILES.
A problem in this patch is that it depends on the url. (--cut-dirs=6)
But at the current ecopy, url is hard coded. so, i think it's ok for now.
ok, looks good. As far as I understand the patch, it is just set up to fetch all entries listed in "files" directory and go recursive if that entry happens to be a directory, right? If that's the idea, I'm happy to apply it. (In reply to comment #4) > Created an attachment (id=157961) [edit] > a patch to get files in subdirectory Even though this user isn't CC'd on the bug, I thought I should chime in here. Definately will not apply as this patch will break things. eg: %% wget -nv -nH --cut-dirs=6 -x --no-glob -P files http://prefix.gentooexperimental.org/rsync-gentoo-x86/www-servers/lighttpd/files/1.4.19-r2/03_all_lighttpd-1.4.11-errorlog-pipe.diff 2008-09-15 11:02:36 URL:http://prefix.gentooexperimental.org/rsync-gentoo-x86/www-servers/lighttpd/files/1.4.19-r2/03_all_lighttpd-1.4.11-errorlog-pipe.diff [5267/5267] -> "files/03_all_lighttpd-1.4.11-errorlog-pipe.diff" [1] %% ls files/ 03_all_lighttpd-1.4.11-errorlog-pipe.diff It lost the subdir completely. We will need a better solution, unfortunetly, I don't have one right now. *** Bug 245945 has been marked as a duplicate of this bug. *** Same here! It's particularly annoying when ecopying emacs' modes not in prefix target the right people/herd This bug is eligable for a WONTFIX anyway, as ecopy is just a hack, and we should be close to get rid of it. darkside, to you the decision. (In reply to comment #10) > This bug is eligable for a WONTFIX anyway, as ecopy is just a hack, and we > should be close to get rid of it. darkside, to you the decision. > this bug needs to go away from our queue. It is clutter that can't easily be fixed. |