Re: [naviserver-devel] Mercurial help
Uh, it is a little bit complicated, especially with history :-(( Stephen Deasey wrote: > On Wed, Mar 11, 2009 at 5:09 PM, Vlad Seryakov > wrote: >> yes, no history yet, i was doing baby steps > > > Oh OK. I'll let you play with it. > > Note though that mercurial history is immutable. You will have to > delete the repos and convert again. > > >> I used my bitbucket name, it is vseryakov, on SF it was taken, so SF name is >> just seryakov :-(( > > > There's two names here: your bitbucket username, which mercurial > doesn't know or care anything about, and the name you add to the > commit log. > > This last one can be absolutely anything you like: seryakov, > vseryakov, sdeasey... mercurial enforces nothing. But by convention > it's your name and email address, and you keep it consistent so it > doesn't look like there's two of you :-) > > Just add: > > [ui] > username=Vlad Seryakov > > to ~/.hgrc and forget about it. > > > When converting repos from CVS you need to map the old-style SF > username into a new-style mercurial name/email. > > I did it like this: > > hg convert -A ~/tmp/sf.authors \ >--config convert.hg.usebranchnames=0 \ >--config convert.hg.clonebranches=1 \ >~/in/naviserver-modules-HEAD/nsudp/ nsudp-CVSROOT-hg > > and in sf.authors are lines like: > > seryakov=Vlad Seryakov > > > >> Stephen Deasey wrote: >>> On Wed, Mar 11, 2009 at 3:10 AM, Vlad Seryakov >>> wrote: imported all i skipped nsffmpeg, nsotcl, nstcp, i will not going to support themand they will not compile, so no point keeping broken things. nsocaml still may be of interest even it is not compiling as it is now. >>> >>> Hmm, they all just say 'Initial import', you didn't import the >>> history. And you changed your name again, so there's about 3 'yous' on >>> there now. >>> >>> I'll convert them -- there's only 9. >>> >>> -- >>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >>> easily build your RIAs with Flex Builder, the Eclipse(TM)based development >>> software that enables intelligent coding and step-through debugging. >>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >>> ___ >>> naviserver-devel mailing list >>> naviserver-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>> >> -- >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> ___ >> naviserver-devel mailing list >> naviserver-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > -- > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > ___ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
Re: [naviserver-devel] Mercurial help
On Wed, Mar 11, 2009 at 5:09 PM, Vlad Seryakov wrote: > yes, no history yet, i was doing baby steps Oh OK. I'll let you play with it. Note though that mercurial history is immutable. You will have to delete the repos and convert again. > I used my bitbucket name, it is vseryakov, on SF it was taken, so SF name is > just seryakov :-(( There's two names here: your bitbucket username, which mercurial doesn't know or care anything about, and the name you add to the commit log. This last one can be absolutely anything you like: seryakov, vseryakov, sdeasey... mercurial enforces nothing. But by convention it's your name and email address, and you keep it consistent so it doesn't look like there's two of you :-) Just add: [ui] username=Vlad Seryakov to ~/.hgrc and forget about it. When converting repos from CVS you need to map the old-style SF username into a new-style mercurial name/email. I did it like this: hg convert -A ~/tmp/sf.authors \ --config convert.hg.usebranchnames=0 \ --config convert.hg.clonebranches=1 \ ~/in/naviserver-modules-HEAD/nsudp/ nsudp-CVSROOT-hg and in sf.authors are lines like: seryakov=Vlad Seryakov > Stephen Deasey wrote: >> On Wed, Mar 11, 2009 at 3:10 AM, Vlad Seryakov >> wrote: >>> imported all >>> >>> i skipped nsffmpeg, nsotcl, nstcp, i will not going to support themand >>> they will not compile, so no point keeping broken things. >>> >>> nsocaml still may be of interest even it is not compiling as it is now. >> >> >> Hmm, they all just say 'Initial import', you didn't import the >> history. And you changed your name again, so there's about 3 'yous' on >> there now. >> >> I'll convert them -- there's only 9. >> >> -- >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> ___ >> naviserver-devel mailing list >> naviserver-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > -- > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > ___ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
Re: [naviserver-devel] Mercurial help
yes, no history yet, i was doing baby steps I used my bitbucket name, it is vseryakov, on SF it was taken, so SF name is just seryakov :-(( Stephen Deasey wrote: > On Wed, Mar 11, 2009 at 3:10 AM, Vlad Seryakov > wrote: >> imported all >> >> i skipped nsffmpeg, nsotcl, nstcp, i will not going to support themand >> they will not compile, so no point keeping broken things. >> >> nsocaml still may be of interest even it is not compiling as it is now. > > > Hmm, they all just say 'Initial import', you didn't import the > history. And you changed your name again, so there's about 3 'yous' on > there now. > > I'll convert them -- there's only 9. > > -- > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > ___ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
Re: [naviserver-devel] Mercurial help
On Wed, Mar 11, 2009 at 3:10 AM, Vlad Seryakov wrote: > imported all > > i skipped nsffmpeg, nsotcl, nstcp, i will not going to support themand > they will not compile, so no point keeping broken things. > > nsocaml still may be of interest even it is not compiling as it is now. Hmm, they all just say 'Initial import', you didn't import the history. And you changed your name again, so there's about 3 'yous' on there now. I'll convert them -- there's only 9. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
Re: [naviserver-devel] Mercurial help
imported all i skipped nsffmpeg, nsotcl, nstcp, i will not going to support themand they will not compile, so no point keeping broken things. nsocaml still may be of interest even it is not compiling as it is now. Stephen Deasey wrote: > On Tue, Mar 10, 2009 at 4:14 PM, Vlad Seryakov > wrote: >> Stephen, >> >> Can you describe how to import module into hg on bitbucket, it keeps saying >> i am not authorized. > > > Log in as 'naviserver' at bitbucket.org. > > Got to: > > http://bitbucket.org/repo/create > > Fill out the info. Once created, in the admin tab, on the right hand > side under Permissions -> Administrators add verseryakov and whoever > else you'd like. > > Back on your machine... > > You can now clone the repo from bitbucket to your machine if you like, > and commit straight into it -- the repo url will be set correctly for > you. > > As a shortcut, you can add something like this to your ~/.hgrc file: > > [paths] > nsfoo = https://vserya...@bitbucket.org/naviserver/nsfoo/ > > this allows you to refer to the repo on bitbucket as 'nsfoo' on the > command line. So, if you've converted one of the remaining repos and > you want to push it, without first cloning from bitbucket, you just: > > cd ~/nsfoo-hg > hg outgoing nsfoo > hg push nsfoo > > The 'outgoing' tells you what it would push without actually pushing. > > If you edit the ~/nsfo-hg/.hg/hgrc to add: > > [paths] > default = http://bitbucket.org/naviserver/nsfoo > > you don't have to tell it where you want to push to. Just: > > cd ~/nsfoo-hg > hg push > > > Once it's up there, *then* you can customise the rest of the Admin > options on bitbucket -- set up the commit emails etc. (look at > naviserver for an example). Do this second so you don't spam the list > with 5 years of history :-) > > > I've converted some more modules. Here's what's left to do: > > nsconf > nsexpat > #nsstats > nssys > nstk > nszlib > > nsffmpeg > nsfortune > nsocaml > nsotcl > nssavi > > nsdbext > nsdbpd > > > I know you said some where perhaps obsolete now, but what they hey, > better not to loose them. > > You could leave nsdbext and nsdbpd for me if you like. I was going to > try merging in the whole aolserver history, which is a little more > work. > > -- > ___ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
Re: [naviserver-devel] Mercurial help
Oh, login as naviserver was the trick, thank you i will import all remaining modules Stephen Deasey wrote: > On Tue, Mar 10, 2009 at 4:14 PM, Vlad Seryakov > wrote: >> Stephen, >> >> Can you describe how to import module into hg on bitbucket, it keeps saying >> i am not authorized. > > > Log in as 'naviserver' at bitbucket.org. > > Got to: > > http://bitbucket.org/repo/create > > Fill out the info. Once created, in the admin tab, on the right hand > side under Permissions -> Administrators add verseryakov and whoever > else you'd like. > > Back on your machine... > > You can now clone the repo from bitbucket to your machine if you like, > and commit straight into it -- the repo url will be set correctly for > you. > > As a shortcut, you can add something like this to your ~/.hgrc file: > > [paths] > nsfoo = https://vserya...@bitbucket.org/naviserver/nsfoo/ > > this allows you to refer to the repo on bitbucket as 'nsfoo' on the > command line. So, if you've converted one of the remaining repos and > you want to push it, without first cloning from bitbucket, you just: > > cd ~/nsfoo-hg > hg outgoing nsfoo > hg push nsfoo > > The 'outgoing' tells you what it would push without actually pushing. > > If you edit the ~/nsfo-hg/.hg/hgrc to add: > > [paths] > default = http://bitbucket.org/naviserver/nsfoo > > you don't have to tell it where you want to push to. Just: > > cd ~/nsfoo-hg > hg push > > > Once it's up there, *then* you can customise the rest of the Admin > options on bitbucket -- set up the commit emails etc. (look at > naviserver for an example). Do this second so you don't spam the list > with 5 years of history :-) > > > I've converted some more modules. Here's what's left to do: > > nsconf > nsexpat > #nsstats > nssys > nstk > nszlib > > nsffmpeg > nsfortune > nsocaml > nsotcl > nssavi > > nsdbext > nsdbpd > > > I know you said some where perhaps obsolete now, but what they hey, > better not to loose them. > > You could leave nsdbext and nsdbpd for me if you like. I was going to > try merging in the whole aolserver history, which is a little more > work. > > -- > ___ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
Re: [naviserver-devel] Mercurial help
On Tue, Mar 10, 2009 at 4:41 PM, Stephen Deasey wrote: > On Tue, Mar 10, 2009 at 4:14 PM, Vlad Seryakov > wrote: >> Stephen, >> >> Can you describe how to import module into hg on bitbucket, it keeps saying >> i am not authorized. > > > Log in as 'naviserver' at bitbucket.org. > > Got to: > > http://bitbucket.org/repo/create > > Fill out the info. Once created, in the admin tab, on the right hand > side under Permissions -> Administrators add verseryakov and whoever > else you'd like. > > Back on your machine... > > You can now clone the repo from bitbucket to your machine if you like, > and commit straight into it -- the repo url will be set correctly for > you. > > As a shortcut, you can add something like this to your ~/.hgrc file: > > [paths] > nsfoo = https://vserya...@bitbucket.org/naviserver/nsfoo/ > > this allows you to refer to the repo on bitbucket as 'nsfoo' on the > command line. So, if you've converted one of the remaining repos and > you want to push it, without first cloning from bitbucket, you just: > > cd ~/nsfoo-hg > hg outgoing nsfoo > hg push nsfoo > > The 'outgoing' tells you what it would push without actually pushing. > > If you edit the ~/nsfo-hg/.hg/hgrc to add: > > [paths] > default = http://bitbucket.org/naviserver/nsfoo > > you don't have to tell it where you want to push to. Just: > > cd ~/nsfoo-hg > hg push > > > Once it's up there, *then* you can customise the rest of the Admin > options on bitbucket -- set up the commit emails etc. (look at > naviserver for an example). Do this second so you don't spam the list > with 5 years of history :-) > > > I've converted some more modules. Here's what's left to do: > > nsconf > nsexpat > #nsstats > nssys > nstk > nszlib > > nsffmpeg > nsfortune > nsocaml > nsotcl > nssavi > > nsdbext > nsdbpd > > > I know you said some where perhaps obsolete now, but what they hey, > better not to loose them. > > You could leave nsdbext and nsdbpd for me if you like. I was going to > try merging in the whole aolserver history, which is a little more > work. > Oh yeah, if anyone has a few spare minutes you could add the missing modules to ohloh: https://www.ohloh.net/tags/naviserver Then we can link them up in the Tcl wiki and embed the ohloh graphs 'n stuff. -- ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
Re: [naviserver-devel] Mercurial help
On Tue, Mar 10, 2009 at 4:14 PM, Vlad Seryakov wrote: > Stephen, > > Can you describe how to import module into hg on bitbucket, it keeps saying i > am not authorized. Log in as 'naviserver' at bitbucket.org. Got to: http://bitbucket.org/repo/create Fill out the info. Once created, in the admin tab, on the right hand side under Permissions -> Administrators add verseryakov and whoever else you'd like. Back on your machine... You can now clone the repo from bitbucket to your machine if you like, and commit straight into it -- the repo url will be set correctly for you. As a shortcut, you can add something like this to your ~/.hgrc file: [paths] nsfoo = https://vserya...@bitbucket.org/naviserver/nsfoo/ this allows you to refer to the repo on bitbucket as 'nsfoo' on the command line. So, if you've converted one of the remaining repos and you want to push it, without first cloning from bitbucket, you just: cd ~/nsfoo-hg hg outgoing nsfoo hg push nsfoo The 'outgoing' tells you what it would push without actually pushing. If you edit the ~/nsfo-hg/.hg/hgrc to add: [paths] default = http://bitbucket.org/naviserver/nsfoo you don't have to tell it where you want to push to. Just: cd ~/nsfoo-hg hg push Once it's up there, *then* you can customise the rest of the Admin options on bitbucket -- set up the commit emails etc. (look at naviserver for an example). Do this second so you don't spam the list with 5 years of history :-) I've converted some more modules. Here's what's left to do: nsconf nsexpat #nsstats nssys nstk nszlib nsffmpeg nsfortune nsocaml nsotcl nssavi nsdbext nsdbpd I know you said some where perhaps obsolete now, but what they hey, better not to loose them. You could leave nsdbext and nsdbpd for me if you like. I was going to try merging in the whole aolserver history, which is a little more work. -- ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
[naviserver-devel] Mercurial help
Stephen, Can you describe how to import module into hg on bitbucket, it keeps saying i am not authorized. Thanks -- ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel