Copybara for 2 private repos

115 views
Skip to first unread message

Tehila Levin

unread,
Feb 7, 2022, 11:51:47 AM2/7/22
to Copybara OSS
Hi, 
I am new to Copybara and would like to use it to mirror 2 private GitHub repos I have tried using the example here https://github.com/google/copybara/blob/master/docs/examples.md#basic-git-to-git-import however, I receive an error "command not found: Copybara". 
Thanks!

Miguel Alcon

unread,
Feb 7, 2022, 2:34:30 PM2/7/22
to Tehila Levin, Copybara OSS
Hi,

You need to build Copybara first and use the generated binary.

--
You received this message because you are subscribed to the Google Groups "Copybara OSS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copybara-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copybara-discuss/ba3bc63e-bc6a-4dba-bc16-05337c5b3075n%40googlegroups.com.

Tehila Levin

unread,
Feb 8, 2022, 9:28:24 AM2/8/22
to Copybara OSS
I have done the following:
However 7 tests fail locally, I have tried uninstalling and reinstalling Bazel (version 4.2.2) but still have failing tests


Miguel Alcon

unread,
Feb 8, 2022, 10:03:03 AM2/8/22
to Tehila Levin, Copybara OSS
After the bazel build step, you can run:

 bazel-bin/java/com/google/copybara/copybara

Reply all
Reply to author
Forward
0 new messages