[Bug 9985] New: The -r option to build-git-snapshot works only half way
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9985 Bug ID: 9985 Summary: The -r option to build-git-snapshot works only half way Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Packaging Assignee: koha-bugs@lists.koha-community.org Reporter: magnus@enger.priv.no CC: robin@catalyst.net.nz When I run debian/build-git-snapshot with "-r /home/magnus/packages/" I get some files in /home/magnus/packages/ and some files in the directory above the one in which i run debian/build-git-snapshot. Could this be fixed, so everything ends up in the directory specified by -r? Here is how the files are distributed: $ cd /home/magnus $ ls koha_3.11-1~git+20130403+20130403144843.7b1a091a.dsc koha_3.11-1~git+20130403+20130403144843.7b1a091a_source.changes koha_3.11-1~git+20130403+20130403144843.7b1a091a_i386.build koha_3.11-1~git+20130403+20130403144843.7b1a091a.tar.gz $ ls packages/ koha_3.11-1~git+20130403+20130403144843.7b1a091a_all.deb koha_3.11-1~git+20130403+20130403144843.7b1a091a.tar.gz koha-perldeps_3.11-1~git+20130403+20130403144843.7b1a091a_all.deb koha_3.11-1~git+20130403+20130403144843.7b1a091a.dsc koha-common_3.11-1~git+20130403+20130403144843.7b1a091a_all.deb koha_3.11-1~git+20130403+20130403144843.7b1a091a_i386.changes koha-deps_3.11-1~git+20130403+20130403144843.7b1a091a_all.deb -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9985 --- Comment #1 from Robin Sheat <robin@catalyst.net.nz> --- -r is used to specify where the build results go. The extra files aren't really build results, but are intermediate things, so it's not ideal that they go to the same place. It would be nice not to have them dropped in .., the reason it's like that is that it's the way debian tends to work. You'd have the same thing if you just ran debuild in there. We could move those things somewhere else, but they shouldn't go to the -r place. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9985 --- Comment #2 from Magnus Enger <magnus@enger.priv.no> --- Ah, I see. Would an automatically created subdirectory of the -r place make sense? Or /tmp? Or maybe this is just a WONTFIX... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9985 --- Comment #3 from Robin Sheat <robin@catalyst.net.nz> --- Perhaps another option to move them to a specific location is the best bet. In theory it's useful to have the tar.gz in the parent directory so it can be reused by things, in practice I don't think anyone does that for Koha. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org