Bug#653465: Allow Vcs/Tarball cases where the tarball _and_ the source in Vcs have a (common) $subdir.

2012-01-03 Thread Mike Gabriel
tags #653465 patch thanks Hi Joey, On Do 29 Dez 2011 17:03:56 CET Joey Hess wrote: Mike Gabriel wrote: I might have time for that tomorrow... Such a feature is needed for one of my projects, so it is a good time to work on that. I'll send patches to this report... Thanks.. Don't worry

Bug#653465: Allow Vcs/Tarball cases where the tarball _and_ the source in Vcs have a (common) $subdir.

2012-01-03 Thread Mike Gabriel
Hi Joey, On Di 03 Jan 2012 18:04:12 CET Joey Hess wrote: Mike Gabriel wrote: attached you find an approach that adds a --relsrcbase option to pristine-tar which then takes in the relative location of the source tree in the Git upstream source refspec. This --relsrcbase option has to be

Bug#653465: Allow Vcs/Tarball cases where the tarball _and_ the source in Vcs have a (common) $subdir.

2012-01-03 Thread Joey Hess
Mike Gabriel wrote: attached you find an approach that adds a --relsrcbase option to pristine-tar which then takes in the relative location of the source tree in the Git upstream source refspec. This --relsrcbase option has to be passed on commit _and_ checkout. However, it would be much

Bug#653465: Allow Vcs/Tarball cases where the tarball _and_ the source in Vcs have a (common) $subdir.

2012-01-03 Thread Joey Hess
Mike Gabriel wrote: What if there are duplicate path names??? This is not very common, I know, but we should think of any possible dir tree, even if maybe completely crazy... Git commits to the first .git directory found in either the current directory or its parent, etc. AFAICS, that's all

Bug#653465: Allow Vcs/Tarball cases where the tarball _and_ the source in Vcs have a (common) $subdir.

2011-12-29 Thread Joey Hess
Mike Gabriel wrote: I might have time for that tomorrow... Such a feature is needed for one of my projects, so it is a good time to work on that. I'll send patches to this report... Thanks.. Don't worry about pretty, a series of hacks that make it work for you would be very helpful. BTW:

Bug#653465: Allow Vcs/Tarball cases where the tarball _and_ the source in Vcs have a (common) $subdir.

2011-12-28 Thread Mike Gabriel
package: pristine-tar version: 1.15 severity: whishlist tags: patch Hi, I have stumbled over an upstream use case where I had to bundle several upstream projects into one Debian source package. For this I had to create several upstream branches with branch names equal to subproject name.

Bug#653465: Allow Vcs/Tarball cases where the tarball _and_ the source in Vcs have a (common) $subdir.

2011-12-28 Thread Joey Hess
Mike Gabriel wrote: I have stumbled over an upstream use case where I had to bundle several upstream projects into one Debian source package. For this I had to create several upstream branches with branch names equal to subproject name. Another requirement was that the base folder in each

Bug#653465: Allow Vcs/Tarball cases where the tarball _and_ the source in Vcs have a (common) $subdir.

2011-12-28 Thread Mike Gabriel
Hi Joey, On Mi 28 Dez 2011 17:54:01 CET Joey Hess wrote: Mike Gabriel wrote: I have stumbled over an upstream use case where I had to bundle several upstream projects into one Debian source package. For this I had to create several upstream branches with branch names equal to subproject

Bug#653465: Allow Vcs/Tarball cases where the tarball _and_ the source in Vcs have a (common) $subdir.

2011-12-28 Thread Joey Hess
Mike Gabriel wrote: I just now encountered exactly such a case you described above... So, when do you plan to have the more generic approach (use any subdir in source tree for pristine-tar) available? That would be really great to have that!!! I don't know... it's not a priority for me..

Bug#653465: Allow Vcs/Tarball cases where the tarball _and_ the source in Vcs have a (common) $subdir.

2011-12-28 Thread Mike Gabriel
Hi Joey, On Mi 28 Dez 2011 20:14:37 CET Joey Hess wrote: Mike Gabriel wrote: I just now encountered exactly such a case you described above... So, when do you plan to have the more generic approach (use any subdir in source tree for pristine-tar) available? That would be really great to have