problem committing (from my own box)

Riccardo Mottola rmottola at opencsw.org
Wed Dec 17 18:53:00 CET 2014


Hi,

On Wed, 2014-12-17 at 13:18, Maciej (Matchek) Bliziński wrote:
> 2014-12-17 12:15 GMT+00:00 Riccardo Mottola <rmottola at opencsw.org>:
> >> Riccardo, could you fix mgar init?
> >
> > Glad... where in the code should I look? If it is just tweaking some
> > URLs it shouldn't be hard. Is the code inside what "mgar init" checks
> > out? or d I need csw/mgar/gar
> 
> Yes, this repo is big, and the code isn't even in it! Look here:
> 
> https://sourceforge.net/p/opencsw/code/HEAD/tree/gar-wrapper/
> 
> Apart from these two there is at least one more repo that I'm aware of.

I checked out the source code and fount that gar uses these URLs

SVN_SELF=https://svn.code.sf.net/p/opencsw/code/gar-wrapper/mgar
GAR_REPO=https://svn.code.sf.net/p/gar/code/csw/mgar/gar/
PKG_REPO=https://svn.code.sf.net/p/gar/code/csw/mgar/pkg/

I suppose the only one needing a username would be GAR_REPO, but we
don't have the username inside the script to generate the more complex
URL, right?

something like:
GAR_REPO=svn+ssh://$SF_USERNAME@svn.code.sf.net/p/gar/code/csw/mgar/pkg

and then later:
svn co $GAR_REPO "$__buildtree/.buildsys"

becomes:
svn co --username=$SF_USERNAME $GAR_REPO "$__buildtree/.buildsys"

but I don't know where the username should reside, perhaps .garrc?

Riccardo



More information about the maintainers mailing list