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

Duplicate all project repositories into /library #17597

Closed
MayhemBill opened this issue Sep 26, 2022 · 9 comments
Closed

Duplicate all project repositories into /library #17597

MayhemBill opened this issue Sep 26, 2022 · 9 comments
Labels

Comments

@MayhemBill
Copy link

What can we help you?
I would like to be able to replicate all of the individual projects into the default library, mostly as an index of all the repositories in one place, but I can't seem to figure out how, is this kind of thing even possible?

@chlins
Copy link
Member

chlins commented Sep 26, 2022

I think you could create replication policy and replicate from self projects to library(which can set the dest namespace as library).

@MayhemBill
Copy link
Author

the issue with this is that I need to set up an endpoint for a destination repository, which is a dropdown of repositories setup

@chlins
Copy link
Member

chlins commented Sep 26, 2022

You can create the registry with your harbor instance self before and setup the pull-based rule which choose the source as yourself.

@MayhemBill
Copy link
Author

[ERROR] [/lib/http/error.go:56]: {"errors":[{"code":"UNKNOWN","message":"unknown: crypto/aes: invalid key size 10"}]}

getting this issue trying that

@chlins
Copy link
Member

chlins commented Sep 26, 2022

This solution can work well in my environment, never see the error as you mentioned, could you provide the screenshots of replication rule and execution result?

@MayhemBill
Copy link
Author

I can't even make the rules, I get that error just trying to add the registry to itself

@chlins
Copy link
Member

chlins commented Oct 11, 2022

Could you share the screenshot of the registry add page?

@github-actions
Copy link

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

@github-actions github-actions bot added the Stale label Dec 10, 2022
@github-actions
Copy link

github-actions bot commented Jan 9, 2023

This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants