Re: [pear-webmaster] Re: cvs: pearweb /include pear-format-html.php
| From: | Helgi Þormar Þorbjörnsson | Date: | Sun, 06 Apr 2008 23:39:37 +0000 |
| Subject: | Re: [pear-webmaster] Re: cvs: pearweb /include pear-format-html.php | ||
| References: | 1 2 3 4 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-6176@lists.php.net to get a copy of this message | ||
Hibb
On Sun, Apr 6, 2008 at 12:30 PM, Christian Weiske <cweiske@cweiske.de>
wrote:
> Hello Helgi,
>
> > >
>
> preg_replace('/(?<=php)\s*(bug(?:fix)?|feat(?:ure)?|doc(?:umentation)?|req(?:uest)?)\s+#([0-9]+)/i',
> > > What about just using #[0-9]+ as detection for bug numbers? trac
> > > does it that way, and I quite like that.
> > Dunno what you read of the regex above but it should be able to do
> > exactly that; Well perhaps you might have to write bug #454 but well
> > I can make that optional if that's the case
> Yes, please make bug|request|doc optional.
>
Shall do.
>
> > > And is there a way we could link changesets/commmits in cvs/svn? In
> > > trac, just do [123] and you're linked to changeset 123 in the VCS.
> > >
> > Why don't we just install Trac ? ;D
> Because we all suffer from the not-invented-here-syndrome :)
>
Would mean so much less work for me haha ;D
> > Anyway it's no problem if it's
> > just a user writing [123] somewhere but I'd have to link only to cvs
> > or only to svn unless we start doing [svn:123] and such
> [svn:123] sounds good to me. I am not sure how cvs commits can be
> linked at all, that bothers me most. Any idea?
It's more tricky given each commit won't get a revision id,
[cvs:filename;revision-id] perhaps ? Feels kinda clumsy, [cvs:id] can be
achieved but ID would have to be just a news.php.net/php.pear.cvs id as in
the news entry id :-(
- Helgi