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

Add support for gitlab mirror #143

Open
Yikun opened this issue Jan 28, 2022 · 0 comments
Open

Add support for gitlab mirror #143

Yikun opened this issue Jan 28, 2022 · 0 comments
Labels
feature New feature or request

Comments

@Yikun
Copy link
Owner

Yikun commented Jan 28, 2022

User:
repo list: https://gitlab.com/api/v4/users/yikunkero/projects
create repo: curl --header "PRIVATE-TOKEN: $token" -XPOST "https://gitlab.com/api/v4/projects?name=repo_name&visibility=public"

Group:
repo list: https://gitlab.com/api/v4/groups/hub-mirror-action/projects

create repo:
curl --header "PRIVATE-TOKEN: $token" "https://gitlab.com/api/v4/namespaces/hub-mirror-action" | jq .id

curl --header "PRIVATE-TOKEN: $token" -X POST "https://gitlab.com/api/v4/projects?name=test4&namespace_id=$id&visibility=public"

@Yikun Yikun added the feature New feature or request label Jan 28, 2022
Yikun pushed a commit that referenced this issue Jan 27, 2025
## Description
Added support for GitLab repository mirroring, allowing users to mirror
repositories to and from GitLab instances.

### Features added:
- GitLab API v4 integration
- Support for high-level GitLab group namespaces (no nested subgroups)
- Repository mirroring functionality for GitLab
- Updated documentation in README and action.yml with GitLab
configuration options

#143

---------

Signed-off-by: Kareem Zarka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant