Re: PSA: mercurial-setup becomes vcs-setup and adds support for git
The --git flag to |mach vcs-setup| was short-lived after all. I've landed bug 1484243 in autoland (thanks ahal!), so it will now figure out what VCS is being used and do the right thing. When it merges to m-c you can forget it was ever there. Cheers, Panos On Fri, Aug 17, 2018 at 7:54 AM Andrew Halberstadt wrote: > This is awesome, thanks for working on it! I filed a follow-up to > detect the vcs automatically (bug 1484243). > > In the meantime, if you are a git user you can create an alias in > ~/.mozbuild/machrc: > [alias] > vcs-setup = vcs-setup --git > > On Fri, Aug 17, 2018 at 3:51 AM Panos Astithas wrote: > >> Hi all, >> >> since bug 1257478 landed in m-c earlier today, you should now be using >> 'mach vcs-setup' instead of 'mach mercurial-setup'. Nothing else changes in >> your workflow (e.g. 'mach mercurial-setup -u' becomes 'mach vcs-setup -u') >> and the spell checker will suggest vcs-setup if you try to use >> mercurial-setup. >> >> If you are a git-cinnabar user, your workflow is now supported. 'mach >> vcs-setup --git' will fetch the latest recommended version of git-cinnabar >> and configure it for you. The --update-only flag is also available for git, >> so it would be a good idea to run 'mach vcs-setup --git --update-only' (or >> 'mach vcs-setup -gu') every now and then to make sure everything is up to >> date. >> >> 'mach bootstrap' will also offer to update and configure your >> git-cinnabar environment if a git checkout is detected. >> >> Cheers, >> Panos >> >> ___ >> firefox-dev mailing list >> firefox-...@mozilla.org >> https://mail.mozilla.org/listinfo/firefox-dev >> > ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: PSA: mercurial-setup becomes vcs-setup and adds support for git
On Tue, Aug 21, 2018 at 01:26:27PM +0200, Jean-Yves Avenard wrote: > Hi. > > This is awesome, upgrading and configuring cinnabar had always been a sore > point > > But I just noticed that it appears to pull from git-cinnabar master branch… > > I had to run bootstrap on android yesterday, which upgraded git-cinnabar > (requiring a git upgrade) > and had to run it again today. which too requires a git upgrade > > git upgrade takes a significant time. > > Wouldn’t it be better to follow the release branch instead of master? The master branch is now the default branch and recommended to use from 0.5 onwards. It won't receive any change that require a git cinnabar upgrade (until next "minor" version change, aka 0.6). Mike ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: PSA: mercurial-setup becomes vcs-setup and adds support for git
Hi. This is awesome, upgrading and configuring cinnabar had always been a sore point But I just noticed that it appears to pull from git-cinnabar master branch… I had to run bootstrap on android yesterday, which upgraded git-cinnabar (requiring a git upgrade) and had to run it again today. which too requires a git upgrade git upgrade takes a significant time. Wouldn’t it be better to follow the release branch instead of master? JY > On 17 Aug 2018, at 9:50 am, Panos Astithas wrote: > > Hi all, > > since bug 1257478 landed in m-c earlier today, you should now be using 'mach > vcs-setup' instead of 'mach mercurial-setup'. Nothing else changes in your > workflow (e.g. 'mach mercurial-setup -u' becomes 'mach vcs-setup -u') and the > spell checker will suggest vcs-setup if you try to use mercurial-setup. > > If you are a git-cinnabar user, your workflow is now supported. 'mach > vcs-setup --git' will fetch the latest recommended version of git-cinnabar > and configure it for you. The --update-only flag is also available for git, > so it would be a good idea to run 'mach vcs-setup --git --update-only' (or > 'mach vcs-setup -gu') every now and then to make sure everything is up to > date. > > 'mach bootstrap' will also offer to update and configure your git-cinnabar > environment if a git checkout is detected. > > Cheers, > Panos > > ___ > firefox-dev mailing list > firefox-...@mozilla.org > https://mail.mozilla.org/listinfo/firefox-dev smime.p7s Description: S/MIME cryptographic signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: PSA: mercurial-setup becomes vcs-setup and adds support for git
This is awesome, thanks for working on it! I filed a follow-up to detect the vcs automatically (bug 1484243). In the meantime, if you are a git user you can create an alias in ~/.mozbuild/machrc: [alias] vcs-setup = vcs-setup --git On Fri, Aug 17, 2018 at 3:51 AM Panos Astithas wrote: > Hi all, > > since bug 1257478 landed in m-c earlier today, you should now be using > 'mach vcs-setup' instead of 'mach mercurial-setup'. Nothing else changes in > your workflow (e.g. 'mach mercurial-setup -u' becomes 'mach vcs-setup -u') > and the spell checker will suggest vcs-setup if you try to use > mercurial-setup. > > If you are a git-cinnabar user, your workflow is now supported. 'mach > vcs-setup --git' will fetch the latest recommended version of git-cinnabar > and configure it for you. The --update-only flag is also available for git, > so it would be a good idea to run 'mach vcs-setup --git --update-only' (or > 'mach vcs-setup -gu') every now and then to make sure everything is up to > date. > > 'mach bootstrap' will also offer to update and configure your git-cinnabar > environment if a git checkout is detected. > > Cheers, > Panos > > ___ > firefox-dev mailing list > firefox-...@mozilla.org > https://mail.mozilla.org/listinfo/firefox-dev > ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
PSA: mercurial-setup becomes vcs-setup and adds support for git
Hi all, since bug 1257478 landed in m-c earlier today, you should now be using 'mach vcs-setup' instead of 'mach mercurial-setup'. Nothing else changes in your workflow (e.g. 'mach mercurial-setup -u' becomes 'mach vcs-setup -u') and the spell checker will suggest vcs-setup if you try to use mercurial-setup. If you are a git-cinnabar user, your workflow is now supported. 'mach vcs-setup --git' will fetch the latest recommended version of git-cinnabar and configure it for you. The --update-only flag is also available for git, so it would be a good idea to run 'mach vcs-setup --git --update-only' (or 'mach vcs-setup -gu') every now and then to make sure everything is up to date. 'mach bootstrap' will also offer to update and configure your git-cinnabar environment if a git checkout is detected. Cheers, Panos ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform