Re: How to change repo code?

846 views
Skip to first unread message

Shawn Pearce

unread,
Oct 15, 2012, 9:41:52 PM10/15/12
to cyvins, repo-discuss
On Mon, Oct 15, 2012 at 5:47 PM, cyvins <cyv...@gmail.com> wrote:
> We are using the repo/gerrit to manage our projects. And for some reason, we
> need to change the source code of repo.
> However After I changed and commited the code to git repository, when I am
> using "repo sync" command to sync the projects' source code,
> It complains as "warning: project 'repo' branch 'stable' is not signed,
> warning: Skipped upgrade to unverified version".
> And the repo still stays as the old version before I changed.
>
> How can I generate the pgp sigature to make the repo changes available?

Export your public key and replace the REPO_MAINTAINERS block in the
"repo" script.
Edit the keyring version field and bump it.

Use `git tag -s` to create a local signed tag for your team at the tip
of your stable branch.

Push this to your local copy of repo.

Each member of your team needs to run `mkdir tmp_dir ; cd tmp_dir ;
repo init ` using your modified repo script to import the GnuPG key
into the repo specific keyring. Discard the tmp_dir after it is
created. Using a new empty directory is required to make it import the
keys.


The other method is to run repo with the --no-repo-verify flag. Check
the help flags.

cyvins

unread,
Oct 16, 2012, 4:30:40 AM10/16/12
to repo-d...@googlegroups.com, cyvins
Shawn, Thanks for your help.  Thank you very much.

Magnus Bäck

unread,
Oct 16, 2012, 9:37:12 AM10/16/12
to repo-d...@googlegroups.com
On Monday, October 15, 2012 at 20:47 EDT,
cyvins <cyv...@gmail.com> wrote:

> We are using the repo/gerrit to manage our projects. And for some
> reason, we need to change the source code of repo.

May I ask why? Perhaps it's something that can be solved without Repo
modifications, or a change that should be made to the official Repo
release?

[...]

--
Magnus Bäck
ba...@google.com
Reply all
Reply to author
Forward
0 new messages