Experimental branches?

77 views
Skip to first unread message

Steven

unread,
Jun 28, 2016, 3:27:07 PM6/28/16
to Chromium-dev
I just tried to create an experimental branch for a small project following the steps here:

https://www.chromium.org/developers/experimental-branches

but when I run "git push origin HEAD:refs/experimental/holte/mybranch", I get an error:

 ! [remote rejected] HEAD -> refs/experimental/holte/mybranch (prohibited by Gerrit)
error: failed to push some refs to 'https://chromium.googlesource.com/chromium/src.git'

Is this no longer supported, or am I doing something wrong?

Jeremy Roman

unread,
Jun 28, 2016, 3:34:42 PM6/28/16
to ho...@chromium.org, Chromium-dev
Have you set up your .gitcookies to use your credentials (as a committer)? You would have needed to do this to use 'git cl land' or 'git cl dcommit'.


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Steven

unread,
Jun 28, 2016, 5:24:25 PM6/28/16
to Chromium-dev, ho...@chromium.org
Pretty sure I had that set up correctly, and I used git cl land successfully before (~6 months ago), but I got a new cookie and tried again anyway.  Still no luck though.

Brandon Jones

unread,
Jun 28, 2016, 5:43:22 PM6/28/16
to ho...@chromium.org, Chromium-dev
I've yet to get the current steps to work, but I've been successfully using instructions from an older version of the page for a while. Dug them out of the history for you:

In Blink, there is a special repository where committers can create Git branches that are accepted as pushes. In this repository, refs/heads/* is kept closely in sync with the official Git mirror, so it is a pretty reliable way to work. Here's the quickstart guide to using this repository, adapted from the original announcement email:
  1. Navigate to https://chromium.googlesource.com/, log in with your chromium account, click 'Generate New Password', and follow the instructions.
  2. cd <chromium_src>; git remote add -f wip https://chromium.googlesource.com/experimental/chromium/src
  3. Hack on some code then commit it locally
  4. git push wip HEAD:refs/wip/<chromium username>/foobar, which creates a publicly accessible branch. Any developer can pull with: git fetch wip '+refs/wip/<chromium username>/foobar:refs/heads/foobar'
Please restrict pushes to the refs/wip namespace, specifically in the
following format: refs/wip/<username or codeword>/<branch name>

On Tue, Jun 28, 2016 at 2:24 PM Steven <ho...@chromium.org> wrote:
Pretty sure I had that set up correctly, and I used git cl land successfully before (~6 months ago), but I got a new cookie and tried again anyway.  Still no luck though.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

Matt Giuca

unread,
Jun 28, 2016, 11:15:51 PM6/28/16
to baj...@google.com, ho...@chromium.org, Chromium-dev
It's perhaps worth pointing out that this flow should *not* be done for an experimental feature. Experiments should generally be done on trunk, behind a flag (so even if users aren't seeing them, they are being compiled and tested by all the users and bots and won't rot).

I guess the exception is if you are experimenting with the code itself (i.e., a big refactor).

Steven

unread,
Jun 29, 2016, 6:50:53 PM6/29/16
to Chromium-dev, baj...@google.com, ho...@chromium.org
Thanks, those steps worked for me!

Mostly using this to share some debug / proof of concept code with a couple collaborators, not an experimental feature.

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.

Vinod kumar Sonkusare

unread,
Jun 30, 2016, 6:27:55 AM6/30/16
to ho...@chromium.org, Chromium-dev, baj...@google.com

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

Message has been deleted

Vincent Scheib

unread,
Jul 1, 2016, 2:59:49 PM7/1/16
to koshth...@gmail.com, vinodson...@gmail.com, ho...@chromium.org, Chromium-dev, baj...@google.com
If it helps, github works easily to collaborate, share code between machines, just have a backup, etc; and is simple to use and mange.

Fork
to get started (much easier than pushing the whole repo yourself)

On your branches page, similar to this:
trash all my branches that you won't need.

Then just 
git remote add; and git push using the normal github flow.

On Thu, Jun 30, 2016 at 8:26 AM, Koshthi Hemraj Ghanshyam <koshth...@gmail.com> wrote:
What about the raspberry with chrome is?
Reply all
Reply to author
Forward
0 new messages