[Trac] Feature-Request: Link milestone and version

2014-06-11 Thread Riedel, Torge
Hi,

in our company we use milestones to plan our versions. After all tickets of a 
version are fixed, the milestone is closed and the version is released by 
creating a new version in the trac-admin-panel.

1.
What we like to have is an option when closing a milestone, that you can select 
a check-box Create version. This creates a  version with the same name like 
the milestone (maybe it's modifyable) and the closing date/time of the 
milestone will be the date/time of the version.

2.
An extension to point 1 would be that a version create such that way is linked 
to the milestone and in separate page you can see all versions, the linked 
milestone and by clicking - let's say - on the version it's (the milestone's) 
tickets.

3.
Another extension to points 1 and 2 would be that you can link more than one 
milestone to one version.

Hope that this not only a thing for our workflow.

Best regards
Torge

Sorry, for the disclaimer, it is added automatically.


CENIT AG, Industriestrasse 52-54, 70565 Stuttgart, Tel.: +49 711 7825-30, Fax: 
+49 711 7825-4000, Internet: www.cenit.de
Geschaeftsstellen: Berlin, Frankfurt, Hamburg, Hannover, Muenchen, Oelsnitz, 
Ratingen, Saarbruecken
Vorstandsmitglieder: Kurt Bengel, Matthias Schmidt
Aufsichtsratsmitglieder: Andreas Schmidt (Vorsitzender des Aufsichtsrats), 
Hubert Leypoldt, Andreas Karrer
Bankverbindungen:
Deutsche Bank (BLZ 600 700 70) Kto. 1661 040 IBAN : DE85 6007 0070 0166 1040 00 
SWIFT-CODE : DEUTDESS,
Commerzbank (BLZ 600 400 71) Kto. 532 015 500 IBAN : DE83 6004 0071 0532 0155 
00 SWIFT-Code : COBADEFF600,
Registergericht: Amtsgericht Stuttgart
Handelsregister: HRB Nr. 19117
Umsatzsteuer: ID-Nr. DE 147 862 777

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] RE: Feature-Request: Link milestone and version

2014-06-11 Thread Cooke, Mark
 -Original Message-
 From: trac-users@googlegroups.com On Behalf Of Riedel, Torge
 Sent: 11 June 2014 09:12
 
 Hi,

Hello!

 in our company we use milestones to plan our versions. After all tickets of a
 version are fixed, the milestone is closed and the version is released by
 creating a new version in the trac-admin-panel.
 
 1.
 
 What we like to have is an option when closing a milestone, that you can
 select a check-box Create version. This creates a  version with the same
 name like the milestone (maybe it's modifyable) and the closing date/time of
 the milestone will be the date/time of the version.

That makes a lot of sense and would be useful for us, too.  It would best be 
both optional and modifiable.

 2.
 
 An extension to point 1 would be that a version create such that way is
 linked to the milestone and in separate page you can see all versions, the
 linked milestone and by clicking - let's say - on the version it's (the
 milestone's) tickets.

I wonder if this could be implemented as part of the current Roadmap view?

 3.
 
 Another extension to points 1 and 2 would be that you can link more than one
 milestone to one version.

...so several (agile?) milestones feed into one release version.  Then the 
linked release version would be able to list all included tickets.

I wonder if we could somehow implement iterative milestones so several 
agile sprints could lead up to one milestone.  At the moment I am using e.g. 
4v2-1 for the first sprint, followed by 4v2-2, 4v2-3 .. 4v2-n for release.  
This is making the milestone admin panel very busy!


 Hope that this not only a thing for our workflow.

Sounds interesting to me, anyone else?

~ Mark C

 Best regards
 
 Torge

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Feature-Request: Link milestone and version

2014-06-11 Thread Ryan Ollos
On Wed, Jun 11, 2014 at 1:12 AM, Riedel, Torge t.rie...@cenit.de wrote:

  Hi,



 in our company we use milestones to plan our versions. After all tickets
 of a version are fixed, the milestone is closed and the version is released
 by creating a new version in the trac-admin-panel.



 1.

 What we like to have is an option when closing a milestone, that you can
 select a check-box Create version. This creates a  version with the same
 name like the milestone (maybe it's modifyable) and the closing date/time
 of the milestone will be the date/time of the version.


You could do this fairly easily in a plugin using the
IMilestoneChangeListener extension point to create the milestone, and
either an ITemplateStreamFilter or JavaScript (with the script added
through IRequestFilter) to add the checkbox.

You can open a ticket for the issue, but there's no assurance it will be
implemented anytime soon: http://trac.edgewall.org/newticket. Providing a
patch always helps get things implemented faster!

2.

 An extension to point 1 would be that a version create such that way is
 linked to the milestone and in separate page you can see all versions, the
 linked milestone and by clicking - let's say - on the version it's (the
 milestone's) tickets.


ExtendedVersionPlugin associates versions and milestones:
http://trac-hacks.org/wiki/ExtendedVersionPlugin

In the next development release of Trac, Components and Versions should be
more like first class objects, so their visibility will be better:
http://trac.edgewall.org/ticket/1233



 3.

 Another extension to points 1 and 2 would be that you can link more than
 one milestone to one version.


ExtendedVersionPlugin probably supports this. I haven't worked on it in a
while so I don't recall the specifics. You can always open a feature
request against that plugin if it needs a minor enhancement to meet your
requirements.



 Hope that this not only a thing for our workflow.



 Best regards

 Torge



 Sorry, for the disclaimer, it is added automatically.


 CENIT AG, Industriestrasse 52-54, 70565 Stuttgart, Tel.: +49 711 7825-30,
 Fax: +49 711 7825-4000, Internet: www.cenit.de
 Geschaeftsstellen: Berlin, Frankfurt, Hamburg, Hannover, Muenchen,
 Oelsnitz, Ratingen, Saarbruecken
 Vorstandsmitglieder: Kurt Bengel, Matthias Schmidt
 Aufsichtsratsmitglieder: Andreas Schmidt (Vorsitzender des Aufsichtsrats),
 Hubert Leypoldt, Andreas Karrer
 Bankverbindungen:
 Deutsche Bank (BLZ 600 700 70) Kto. 1661 040 IBAN : DE85 6007 0070 0166
 1040 00 SWIFT-CODE : DEUTDESS,
 Commerzbank (BLZ 600 400 71) Kto. 532 015 500 IBAN : DE83 6004 0071 0532
 0155 00 SWIFT-Code : COBADEFF600,
 Registergericht: Amtsgericht Stuttgart
 Handelsregister: HRB Nr. 19117
 Umsatzsteuer: ID-Nr. DE 147 862 777

 --
 You received this message because you are subscribed to the Google Groups
 Trac Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to trac-users+unsubscr...@googlegroups.com.
 To post to this group, send email to trac-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/trac-users.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Error after installing ExtendedVersionPlugin

2014-06-11 Thread Roger Oberholtzer
Hi all,

I just installed the current ExtendedVersionPlugin in a Trac 1.0.1 (Linix)
that was running fine.

In the initial (wiki) page, I now get this message at the top of the page:

* Warning:* Error with navigation contributor TicketModule

Any other item I try to access in the navigation bar (e.g., Tickets,
Timeline) fail with:

 AttributeError: NullTranslationsBabel instance has no attribute
'isactive'

I checked the Trac issue list (via the link provided in the page when the
error occurs), but was none the wiser.

I am running (The multiple lines are as shown in the error page):

Trac 1.0.1 Trac 1.0.1 Babel 1.3 FullBlog 0.1.1-r0 Genshi 0.7 (with speedups)
mod_python 3.3.1 Pygments 1.6 pysqlite 2.6.0 Python 2.7.3 (default, Apr 14
2012, 08:58:41) [GCC] Python 2.7.3 (default, Apr 14 2012, 08:58:41) [GCC]
pytz 2014.2 pytz 2014.2 RPC 1.1.2-r0 setuptools 3.6 setuptools 3.6 SQLite
3.7.14.1 Subversion 1.7.17 (r1591372) jQuery1.7.2
The Trac log has the following:

2014-06-11 13:10:34,224 Trac[chrome] ERROR: Error with navigation
contributor TicketModule: AttributeError: NullTranslationsBabel instance
has no attribute 'isactive'
2014-06-11 13:16:15,279 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File /usr/lib/python2.7/site-packages/trac/web/main.py, line 497, in
_dispatch_request
dispatcher.dispatch(req)
  File /usr/lib/python2.7/site-packages/trac/web/main.py, line 214, in
dispatch
resp = chosen_handler.process_request(req)
  File /usr/lib/python2.7/site-packages/trac/timeline/web_ui.py, line
155, in process_request
available_filters += event_provider.get_timeline_filters(req) or []
  File /usr/lib/python2.7/site-packages/trac/ticket/web_ui.py, line 242,
in get_timeline_filters
yield ('ticket', _(Tickets opened and closed))
  File /usr/lib/python2.7/site-packages/trac/util/translation.py, line
195, in gettext
if not self.isactive:
  File /usr/lib/python2.7/site-packages/trac/util/translation.py, line
190, in __getattr__
return getattr(self.active, name)
AttributeError: NullTranslationsBabel instance has no attribute 'isactive'


I disabled the ExtendedVersionPlugin, but that did not help.

I installed the plugin as follows (including the messages):

# easy_install http://trac-hacks.org/svn/extendedversionplugin/trunk
  Downloading http://trac-hacks.org/svn/extendedversionplugin/trunk
  Doing subversion checkout from
http://trac-hacks.org/svn/extendedversionplugin/trunk to
/tmp/easy_install-CCe0dO/trunk
  Processing trunk
  Writing /tmp/easy_install-CCe0dO/trunk/setup.cfg
  Running setup.py -q bdist_egg --dist-dir
/tmp/easy_install-CCe0dO/trunk/egg-dist-tmp-dSAvkS
  Adding ExtendedVersionPlugin 1.0dev-r13342 to easy-install.pth file

  Installed
/usr/lib/python2.7/site-packages/ExtendedVersionPlugin-1.0dev_r13342-py2.7.egg
  Processing dependencies for ExtendedVersionPlugin==1.0dev-r13342
  Finished processing dependencies for ExtendedVersionPlugin==1.0dev-r13342

# trac-admin /vol1/trac/systems upgrade
Upgrade done.

You may want to upgrade the Trac documentation now by running:

  trac-admin /vol1/trac/systems wiki upgrade

 # trac-admin /vol1/trac/systems wiki upgrade
  TracRss is already up to date
  WikiFormatting is already up to date
  TracTimeline is already up to date
  TracWorkflow is already up to date
  TracEnvironment is already up to date
  TracTickets is already up to date
  TracModWSGI is already up to date
  WikiProcessors is already up to date
  WikiPageNames is already up to date
  WikiDeletePage is already up to date
  TracLogging is already up to date
  TracSupport is already up to date
  TracQuery is already up to date
  TitleIndex is already up to date
  TracModPython is already up to date
  TracNotification is already up to date
  TracBrowser is already up to date
  TracLinks is already up to date
  InterTrac is already up to date
  TracBatchModify is already up to date
  TracSyntaxColoring is already up to date
  WikiNewPage is already up to date
  CamelCase is already up to date
  TracTicketsCustomFields is already up to date
  TracUpgrade is already up to date
  TracUnicode is already up to date
  TracGuide is already up to date
  TracPermissions is already up to date
  TracFineGrainedPermissions is already up to date
  TracRoadmap is already up to date
  RecentChanges is already up to date
  TracChangeset is already up to date
  TracNavigation is already up to date
  WikiMacros is already up to date
  WikiRestructuredText is already up to date
  TracFastCgi is already up to date
  TracAdmin is already up to date
  WikiHtml is already up to date
  TracWiki is already up to date
  TracRevisionLog is already up to date
  TracCgi is already up to date
  InterMapTxt already exists
  PageTemplates is already up to date
  TracIni is already up to date
  TracSearch is already up to date
  TracReports is already up to date
  TracRepositoryAdmin is already up to date
  WikiRestructuredTextLinks is already up to date
  

Re: [Trac] Error after installing ExtendedVersionPlugin

2014-06-11 Thread Jun Omae
Hi,

On Wed, Jun 11, 2014 at 8:31 PM, Roger Oberholtzer
roger.oberholt...@gmail.com wrote:
 Any other item I try to access in the navigation bar (e.g., Tickets, 
 Timeline) fail with:

  AttributeError: NullTranslationsBabel instance has no attribute 
 'isactive'

 I checked the Trac issue list (via the link provided in the page when the 
 error occurs), but was none the wiser.

 I am running (The multiple lines are as shown in the error page):

 Trac 1.0.1
 Babel 1.3

The issue occurs on Trac 1.0.1 with Babel 1.3. It has been fixed on
Trac 1.0.2dev. See http://trac.edgewall.org/ticket/11345.

Workaround is to downgrade Babel to 0.9.6.

-- 
Jun Omae jun6...@gmail.com (大前 潤)

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Error after installing ExtendedVersionPlugin

2014-06-11 Thread Roger Oberholtzer
Stupid question: How to downgrade Babel. Or, is 1.0.2dev usable?


On Wed, Jun 11, 2014 at 1:44 PM, Jun Omae jun6...@gmail.com wrote:

 Hi,

 On Wed, Jun 11, 2014 at 8:31 PM, Roger Oberholtzer
 roger.oberholt...@gmail.com wrote:
  Any other item I try to access in the navigation bar (e.g., Tickets,
 Timeline) fail with:
 
   AttributeError: NullTranslationsBabel instance has no attribute
 'isactive'
 
  I checked the Trac issue list (via the link provided in the page when
 the error occurs), but was none the wiser.
 
  I am running (The multiple lines are as shown in the error page):
 
  Trac 1.0.1
  Babel 1.3

 The issue occurs on Trac 1.0.1 with Babel 1.3. It has been fixed on
 Trac 1.0.2dev. See http://trac.edgewall.org/ticket/11345.

 Workaround is to downgrade Babel to 0.9.6.

 --
 Jun Omae jun6...@gmail.com (大前 潤)

 --
 You received this message because you are subscribed to the Google Groups
 Trac Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to trac-users+unsubscr...@googlegroups.com.
 To post to this group, send email to trac-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/trac-users.
 For more options, visit https://groups.google.com/d/optout.




-- 
Roger Oberholtzer

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Error after installing ExtendedVersionPlugin

2014-06-11 Thread Jun Omae
On Wed, Jun 11, 2014 at 8:54 PM, Roger Oberholtzer
roger.oberholt...@gmail.com wrote:
 Stupid question: How to downgrade Babel. Or, is 1.0.2dev usable?

How to downgrade depends on how to install Babel...

If Babel is installed using easy_install, run the following.

$ easy_install -U Babel==0.9.6

If Babel is install using pip, run the following.

$ pip uninstall Babel
$ pip install Babel==0.9.6

Trac 1.0.2dev is available in Trac repository,
http://svn.edgewall.org/repos/trac/branches/1.0-stable
See http://trac.edgewall.org/wiki/TracDownload#Tracstable

-- 
Jun Omae jun6...@gmail.com (大前 潤)

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Error after installing ExtendedVersionPlugin

2014-06-11 Thread Roger Oberholtzer
I did not use either. I think I got the source and ran:

  python setup.py install

In my site-packages directory, I have a folder called
Babel-1.3-py2.7.egg-info and one called babel (which seems to contain 1.3
babel code). As expected, there is nothing in easy-install.pth.

Could I just move Babel-1.3-py2.7.egg-info and babel out of the way and
install Babel with easy_install? It is only used by Trac.


On Wed, Jun 11, 2014 at 2:08 PM, Jun Omae jun6...@gmail.com wrote:

 On Wed, Jun 11, 2014 at 8:54 PM, Roger Oberholtzer
 roger.oberholt...@gmail.com wrote:
  Stupid question: How to downgrade Babel. Or, is 1.0.2dev usable?

 How to downgrade depends on how to install Babel...

 If Babel is installed using easy_install, run the following.

 $ easy_install -U Babel==0.9.6

 If Babel is install using pip, run the following.

 $ pip uninstall Babel
 $ pip install Babel==0.9.6

 Trac 1.0.2dev is available in Trac repository,
 http://svn.edgewall.org/repos/trac/branches/1.0-stable
 See http://trac.edgewall.org/wiki/TracDownload#Tracstable

 --
 Jun Omae jun6...@gmail.com (大前 潤)

 --
 You received this message because you are subscribed to the Google Groups
 Trac Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to trac-users+unsubscr...@googlegroups.com.
 To post to this group, send email to trac-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/trac-users.
 For more options, visit https://groups.google.com/d/optout.




-- 
Roger Oberholtzer

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Error after installing ExtendedVersionPlugin

2014-06-11 Thread Roger Oberholtzer
Bad form to answer my own question. I moved the existing
Babel-1.3-py2.7.egg-info and babel out of the way and installed Babel with
easy_install. I now have Babel 0.9.6 and all is working again.

Thanks for the help! Problem solved. Even if I am curious what the
installation of only ExtendedVersionPlugin did to trigger this.


On Wed, Jun 11, 2014 at 3:26 PM, Roger Oberholtzer 
roger.oberholt...@gmail.com wrote:

 I did not use either. I think I got the source and ran:

   python setup.py install

 In my site-packages directory, I have a folder called
 Babel-1.3-py2.7.egg-info and one called babel (which seems to contain 1.3
 babel code). As expected, there is nothing in easy-install.pth.

 Could I just move Babel-1.3-py2.7.egg-info and babel out of the way and
 install Babel with easy_install? It is only used by Trac.


 On Wed, Jun 11, 2014 at 2:08 PM, Jun Omae jun6...@gmail.com wrote:

 On Wed, Jun 11, 2014 at 8:54 PM, Roger Oberholtzer
 roger.oberholt...@gmail.com wrote:
  Stupid question: How to downgrade Babel. Or, is 1.0.2dev usable?

 How to downgrade depends on how to install Babel...

 If Babel is installed using easy_install, run the following.

 $ easy_install -U Babel==0.9.6

 If Babel is install using pip, run the following.

 $ pip uninstall Babel
 $ pip install Babel==0.9.6

 Trac 1.0.2dev is available in Trac repository,
 http://svn.edgewall.org/repos/trac/branches/1.0-stable
 See http://trac.edgewall.org/wiki/TracDownload#Tracstable

 --
 Jun Omae jun6...@gmail.com (大前 潤)

 --
 You received this message because you are subscribed to the Google Groups
 Trac Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to trac-users+unsubscr...@googlegroups.com.
 To post to this group, send email to trac-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/trac-users.
 For more options, visit https://groups.google.com/d/optout.




 --
 Roger Oberholtzer




-- 
Roger Oberholtzer

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Error after installing ExtendedVersionPlugin

2014-06-11 Thread Ryan Ollos
On Wed, Jun 11, 2014 at 7:00 AM, Roger Oberholtzer 
roger.oberholt...@gmail.com wrote:

 Bad form to answer my own question. I moved the existing
 Babel-1.3-py2.7.egg-info and babel out of the way and installed Babel with
 easy_install. I now have Babel 0.9.6 and all is working again.

 Thanks for the help! Problem solved. Even if I am curious what the
 installation of only ExtendedVersionPlugin did to trigger this.


I can't see that ExtendedVersionPlugin could cause the upgrade of Babel.
You would have seen any dependencies being installed when you ran
easy_install. If I had to guess I would say that it seems more likely that
Babel 1.3 was installed on your system before installing
ExtendedVersionPlugin and restarting your webserver causes it to be picked
up by running Trac process.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Can you link two Trac repository to one SVN repository?

2014-06-11 Thread Abtin Khatoonabadi
 

Hello,

 

I am trying to have the following set up.  

 

Assume that my customer has two different project developments in one SVN 
repository, project A and project B.  Project A and project B are also 
sharing the same Trac repository.  My customer is asking me to do the 
following:

 

· Both Project A and B are going to share the same SVN repository.

· Project A and B need to have their own Trac repository.  

· When there is a commit on the project A part of the SVN 
repository, the referenced ticket on the Trac repository A needs to be 
updated.  

· When there is a commit on the project B part of the SVN 
repository, the referenced ticket on the Trac repository B needs to be 
updated.

 

I looked at *http://trac.edgewall.org/wiki http://trac.edgewall.org/wiki *and 
I didn’t find anything about one SVN repositoriy for multiple Trac 
repositories.  I was wondering if this capability exists? If yes, then 
could you provide the link so I can read and learn?

 

Thank you for any help you can provide in this situation. 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Can you link two Trac repository to one SVN repository?

2014-06-11 Thread Ryan Ollos
On Wed, Jun 11, 2014 at 12:39 PM, Abtin Khatoonabadi abtin0...@gmail.com
wrote:

 Hello,



 I am trying to have the following set up.



 Assume that my customer has two different project developments in one SVN
 repository, project A and project B.  Project A and project B are also
 sharing the same Trac repository.  My customer is asking me to do the
 following:



 · Both Project A and B are going to share the same SVN repository.

 · Project A and B need to have their own Trac repository.


There's nothing special about having two Trac project and a single
Subversion repository. Just setup two Trac projects and configure each to
connect to the Subversion repository. There are some nuances to how setup
multiple Trac projects, and you can read more about that here:
http://trac.edgewall.org/wiki/TracMultipleProjects

The situation is more complex if you wish to implement access controls so
that each Trac project has limited access to the Subversion repository
(e.g. Project A can only access /projectA in the SVN repository):
http://trac.edgewall.org/wiki/TracMultipleProjectsSVNAccess


 · When there is a commit on the project A part of the SVN
 repository, the referenced ticket on the Trac repository A needs to be
 updated.

 · When there is a commit on the project B part of the SVN
 repository, the referenced ticket on the Trac repository B needs to be
 updated.


Setting up the post-commit hook for your scenario will also be a bit more
complex. For the basics of setting up a post-commit hook, start here:
http://trac.edgewall.org/wiki/TracInstall#AutomaticreferencetotheSVNchangesetsinTractickets

Assuming you are calling trac-svn-hook from your post-commit hook, you
could probably use svnlook to inspect the paths that are modified, and use
the modified path to set TRAC_ENV before calling trac-svn-hook.
http://trac.edgewall.org/browser/tags/trac-1.0.1/contrib/trac-svn-hook

If /projectA is associated with Trac project A and /projectB is associated
with Trac project B, you'll have to decide how you want to handle the case
that the user is committing changes to both paths. This might not be an
issue for you depending on how you've configured access controls, or if
your processes dictate that a user would never make a change like that. You
could probably reject such a change in the pre-commit hook.
http://stackoverflow.com/questions/17790484/svn-server-pre-commit-hook-know-the-list-of-files-that-are-being-commited

I looked at *http://trac.edgewall.org/wiki http://trac.edgewall.org/wiki *and
 I didn’t find anything about one SVN repositoriy for multiple Trac
 repositories.  I was wondering if this capability exists? If yes, then
 could you provide the link so I can read and learn?



 Thank you for any help you can provide in this situation.



-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Can you link two Trac repository to one SVN repository?

2014-06-11 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11.06.2014 21:39, Abtin Khatoonabadi wrote:
 Hello,
 I am trying to have the following set up. 
 
 Assume that my customer has two different project developments in one
 SVN repository, project A and project B.  Project A and project B are
 also sharing the same Trac repository.

Sorry to interfere, but there is no such thing like a Trac repository.
Trac repository browser accesses existing repositories and provides
views on them.

Of course you may only show parts of a repository using different
fine-grained permission [1] settings for different Trac instances. I'm
assuming your setup is a multiple Trac environments in single parent
directory, but this doesn't matter at all here.

 My customer is asking me to do
 the following:
 · Both Project A and B are going to share the same SVN repository.

Possible starting from Trac 0.12. [2]

 · Project A and B need to have their own Trac repository. 

Unclear, see above.

 · When there is a commit on the project A part of the SVN
 repository, the referenced ticket on the Trac repository A needs to be
 updated.  

You need to customize the ticket commit updater script to know about the
mapping of different SVN branches to respective Trac environments.

 · When there is a commit on the project B part of the SVN
 repository, the referenced ticket on the Trac repository B needs to be
 updated.

Likewise.

 I looked at /_http://trac.edgewall.org/wiki_/and I didn’t find anything
 about one SVN repositoriy for multiple Trac repositories.  I was
 wondering if this capability exists? If yes, then could you provide the
 link so I can read and learn?

All supported repository types have optional components that you need to
enable explicitly, even SVN since 1.0 IIRC. See the repository
administration page [3] for details.

Steffen Hoffmann


[1] http://trac.edgewall.org/wiki/TracFineGrainedPermissions
[2] http://trac.edgewall.org/wiki/MultipleRepositorySupport
[3] http://trac.edgewall.org/wiki/TracRepositoryAdmin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlOYwUIACgkQ31DJeiZFuHcxMgCg0dB3GG8zsYQDSWY33eeENHWQ
T7UAmwcf9gQuRoZYjUNCWuLaP2xKciwu
=b3GN
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] RE: Feature-Request: Link milestone and version

2014-06-11 Thread Ryan Ollos
On Wed, Jun 11, 2014 at 1:28 AM, Cooke, Mark mark.co...@siemens.com wrote:

  -Original Message-
  From: trac-users@googlegroups.com On Behalf Of Riedel, Torge
  Sent: 11 June 2014 09:12
 
  Hi,

 Hello!

  in our company we use milestones to plan our versions. After all tickets
 of a
  version are fixed, the milestone is closed and the version is released by
  creating a new version in the trac-admin-panel.
 
  1.
 
  What we like to have is an option when closing a milestone, that you can
  select a check-box Create version. This creates a  version with the
 same
  name like the milestone (maybe it's modifyable) and the closing
 date/time of
  the milestone will be the date/time of the version.

 That makes a lot of sense and would be useful for us, too.  It would best
 be both optional and modifiable.


I created a ticket to summarize the ideas discussed here:
http://trac.edgewall.org/ticket/11643


   2.
 
  An extension to point 1 would be that a version create such that way is
  linked to the milestone and in separate page you can see all versions,
 the
  linked milestone and by clicking - let's say - on the version it's (the
  milestone's) tickets.

 I wonder if this could be implemented as part of the current Roadmap
 view?


That might be worth considering after #1233 is implemented.

Another useful feature will be to display Versions on the timeline:
http://trac.edgewall.org/ticket/11409. That is really just a subset of the
work in #1233 though.


  3.
 
  Another extension to points 1 and 2 would be that you can link more than
 one
  milestone to one version.

 ...so several (agile?) milestones feed into one release version.  Then the
 linked release version would be able to list all included tickets.

 I wonder if we could somehow implement iterative milestones so several
 agile sprints could lead up to one milestone.  At the moment I am using
 e.g. 4v2-1 for the first sprint, followed by 4v2-2, 4v2-3 .. 4v2-n for
 release.  This is making the milestone admin panel very busy!


In a more general sense, we just need milestone relations. Some of that is
captured in this ticket:
http://trac.edgewall.org/ticket/2344



 Hope that this not only a thing for our workflow.

Sounds interesting to me, anyone else?

~ Mark C

 Best regards

 Torge

--
You received this message because you are subscribed to the Google Groups
Trac Users group.
To unsubscribe from this group and stop receiving emails from it, send an
email to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.