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

repo sync has all the wrong output and no options #32

Open
GoogleCodeExporter opened this issue Apr 8, 2015 · 2 comments
Open

repo sync has all the wrong output and no options #32

GoogleCodeExporter opened this issue Apr 8, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Reported by Andrew D. Stadler (Google) <stadler@android.com> on Fri May 22 
16:32:51 PDT 2009
Source: JIRA REPO-34

The output of repo sync is entirely internal and quite repetitive:

$ repo sync
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 11 (delta 6), reused 3 (delta 0)
Unpacking objects: 100% (11/11), done.
From git://android.git.kernel.org/tools/repo
   2f968c9..498a0e8  master     -> origin/master
   2f968c9..498a0e8  stable     -> origin/stable
 * [new tag]         v1.6.7.5   -> v1.6.7.5
From git://android.git.kernel.org/tools/repo
 * [new tag]         v1.6.7.4   -> v1.6.7.4
remote: Counting objects: 78, done
remote: Compressing objects: 100% (63/63)
Unpacking objects: 100% (63/63), done.
From ssh://android-git.corp.google.com:29418/platform/manifest
   d2f06d9..d9584ca  cupcake    -> origin/cupcake
   78ef62e..9d863ff  donut      -> origin/donut
   22f7151..fc3614e  donut-release -> origin/donut-release
 * [new branch]      eclair-release -> origin/eclair-release
   8c6d287..c122554  master     -> origin/master
   9b08529..8d04dec  master_gl  -> origin/master_gl
remote: Counting objects: 2126, done
remote: Compressing objects: 100% (45/45)
Unpacking objects: 100% (45/45), done.

This kind of stuff isn't really interesting to the "average user" who just
wants latest files.  Can you put it under a -v type option?

Second, the final step is not verbose enough:

Syncing work tree:  79% (120/151)

And this is exactly where the "average user" would like to see *more* output:
What files were updated on my machine?

Can you please change repo sync to be more like this:
$ repo sync
Updating repositories....   (maybe do a live % thing here?)
Syncing work tree:
updating:  packages/apps/Calendar/myActivity.java
updating:  packages/apps/Email/providers.xml
..etc...
$

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

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

Possible workaround is to use "repo forall" with a custom script to "git 
fetch/pull".
But this fails when the Manifest changes, I suppose.

Original comment by mmaru...@gmail.com on 29 Aug 2012 at 8:36

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