Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag feature to allow named and reproducible versions of the global code base to be defined #1

Open
GoogleCodeExporter opened this issue Mar 26, 2016 · 6 comments

Comments

@GoogleCodeExporter
Copy link

Reported by mark gross <mark.gross@intel.com> on Fri Feb 06 15:42:17 PST 2009
Source: JIRA REPO-1
Environment: Linux and mac os hosts.

Having named (tagged) versions of the core Android Open source project code is
needed for folks to build branches or patchsets of experimental work of the
core code base.

Of course the CTT needs to lay down tags periodically on known good enough
versions for everyone to use as baselines.

Original issue reported on code.google.com by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:09

@GoogleCodeExporter
Copy link
Author

Comment by Shawn Pearce <sop@google.com> on Mon Feb 09 10:28:26 PST 2009

On a related note, I received this request by email from another user:
--------

So, I believe I'd like to see something like

repo sync [branch]@Sha1

Expected Behavior:
- Syncs each repository to the state it was before sha1 was checked in.
- Sha1 pretty much only indicates the time of checkin. So, each repository is
synced to the state at that time.
- It would be really nice to get repo sync to write a meta-data file that
would indicate what sha1s were the latest for each repository
- I am not sure how the branch option would fit in but we are pretty much just
syncing the branch at that given time the sha1 was checked in.

Original comment by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:10

@GoogleCodeExporter
Copy link
Author

Comment by Shawn Pearce <sop@google.com> on Tue Mar 03 18:04:39 PST 2009

https://review.source.android.com/9051 is perhaps part of the solution, by
providing a manifest export that contains pegged revisions.

Original comment by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:10

@GoogleCodeExporter
Copy link
Author

Comment by Patrick Brady <pbrady@google.com> on Wed Apr 29 09:10:20 PDT 2009

It would be great to have:

repo sync --tag <tag>

execute:

repo forall -c "git checkout <tag>"

so you could repo init once to a single branch, and then easily sync between
snapshots.

Original comment by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:11

@GoogleCodeExporter
Copy link
Author

Original comment by sop+code@google.com on 24 Sep 2009 at 11:12

@GoogleCodeExporter
Copy link
Author

Yeah, repo tag would definitely be great. Or maybe I'm missing another way to 
do the equivalent.

Original comment by adum...@gmail.com on 26 Jul 2011 at 9:10

@GoogleCodeExporter
Copy link
Author

I figured it out. If your have a tag in a manifest file (version.xml for 
example). You can repo init to a specific tag with the following command:

repo init -u <addres> -b refs/tags/<tagname> -m version.xml

Original comment by renaud.m...@telecomnancy.net on 28 Oct 2013 at 2:04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant