Re: pear svntag - Tag naming
| From: | Christian Weiske | Date: | Wed, 29 Jul 2009 09:39:15 +0000 |
| Subject: | Re: pear svntag - Tag naming | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-52519@lists.php.net to get a copy of this message | ||
Hi Helgi,
> > how about:
> > either tags/releases/X.Y.Z or tags/releases/Pname/X.Y.Z for those rare
> > packages with subpackages.
>
> Well I guess I could also check if it's a sub package and then use
> pname, if it's not a sub package I'd put it directly in the releases.
> Shouldn't be much hassle.
pearweb does not work with subpackages.
I would hate deep nested directory structures in tags/ - we could even drop tags/ and use top-level
releases/ :)
For the sake of easiness, I'd like to stay with
> tags/$packagename-$version
for a release tag. That one single way supports everything without having to worry about later
changes to subpackages. Having multiple methods (with name for packages with multiple package.xml
files, without for those with just a single package.xml and no subpackage) makes things more
complicated. An rule that has no ifs and elses is easiest, even if there is a bit of informatin
duplication. But come, that's not much and not worth the hassle of making a complicated rule.
--
Regards/Mit freundlichen Grüßen
Christian Weiske