You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by ni...@apache.org on 2003/05/05 23:09:03 UTC
cvs commit: jakarta-gump/python/gump conf.py
nicolaken 2003/05/05 14:09:02
Modified: python/gump conf.py
Log:
I found out why the big Gump workspace was not working.
Just look at the commit diff, it should be clear enough ;-|
Revision Changes Path
1.4 +4 -4 jakarta-gump/python/gump/conf.py
Index: conf.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/conf.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- conf.py 5 May 2003 10:22:19 -0000 1.3
+++ conf.py 5 May 2003 21:09:02 -0000 1.4
@@ -81,7 +81,7 @@
"""Configuration of default settings"""
workspace = os.path.normpath('%s/%s.xml' % (dir.base, socket.gethostname().split('.')[0]))
- globalws = os.path.normpath('%s/%s' % (dir.base, 'profile/gump.xml'))
+ globalws = os.path.normpath('%s/%s' % (dir.base, 'global-workspace.xml'))
project = "krysalis-ruper-test"
merge = os.path.normpath('%s/%s' % (dir.work, 'merge.xml'))
date = time.strftime('%Y%m%d')
Re: cvs commit: jakarta-gump/python/gump conf.py
Posted by Nicola Ken Barozzi <ni...@apache.org>.
Sam Ruby wrote, On 05/05/2003 23.28:
> nicolaken@apache.org wrote:
>
>> nicolaken 2003/05/05 14:09:02
>>
>> Modified: python/gump conf.py
>> Log:
>> I found out why the big Gump workspace was not working.
>> Just look at the commit diff, it should be clear enough ;-|
>
>
> Just curious, what is a globalws?
A workspace that has all projects that Gump knows of, ie now it has
profile/gump.xml.
> Why not default to default.workspace, possibly allowing this to be
> overriden by a command line argument? See update.py for an example...
I suggest you to run check.py on PC103.xml workspace to see some output.
What it does is
1 - load the workspace defined in commandline arg
or use default.workspace
2 - check for projects that are missing
3 - load globalws and search in that if it finds the projects that
are missing in the (1) workspace. If found, tell the user
infos about it and where to get the artifacts.
Nextstep is making a step 4 that automatically connects to the
repositories it may find in step 3, get the artifacts, and update the
workspace to include them.
--
Nicola Ken Barozzi nicolaken@apache.org
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
Re: cvs commit: jakarta-gump/python/gump conf.py
Posted by Sam Ruby <ru...@apache.org>.
nicolaken@apache.org wrote:
> nicolaken 2003/05/05 14:09:02
>
> Modified: python/gump conf.py
> Log:
> I found out why the big Gump workspace was not working.
> Just look at the commit diff, it should be clear enough ;-|
Just curious, what is a globalws?
Why not default to default.workspace, possibly allowing this to be
overriden by a command line argument? See update.py for an example...
> Revision Changes Path
> 1.4 +4 -4 jakarta-gump/python/gump/conf.py
>
> Index: conf.py
> ===================================================================
> RCS file: /home/cvs/jakarta-gump/python/gump/conf.py,v
> retrieving revision 1.3
> retrieving revision 1.4
> diff -u -r1.3 -r1.4
> --- conf.py 5 May 2003 10:22:19 -0000 1.3
> +++ conf.py 5 May 2003 21:09:02 -0000 1.4
> @@ -81,7 +81,7 @@
> """Configuration of default settings"""
>
> workspace = os.path.normpath('%s/%s.xml' % (dir.base, socket.gethostname().split('.')[0]))
> - globalws = os.path.normpath('%s/%s' % (dir.base, 'profile/gump.xml'))
> + globalws = os.path.normpath('%s/%s' % (dir.base, 'global-workspace.xml'))
> project = "krysalis-ruper-test"
> merge = os.path.normpath('%s/%s' % (dir.work, 'merge.xml'))
> date = time.strftime('%Y%m%d')