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

Issue with specific repo #6

Open
Andrew-Wichmann opened this issue Jan 10, 2023 · 0 comments
Open

Issue with specific repo #6

Andrew-Wichmann opened this issue Jan 10, 2023 · 0 comments

Comments

@Andrew-Wichmann
Copy link

Andrew-Wichmann commented Jan 10, 2023

Hey Nick,

I used this tool on the Data Warehouse group (10681566), but the repo I was primarily interested in didn't clone.

twisted@spirit:~/Code/work$ gitlab-sync --group-id 10681566 --gitlab-token <redacted> --local-repo-path . --no-dry-run
Group Data Warehouse (id: 10681566)
/home/twisted/.asdf/installs/python/3.10.7/bin/gitlab-sync:33: UserWarning: Calling a `list()` method without specifying `get_all=True` or `iterator=True` will return a maximum of 20 items. Your query returned 20 of 27 items. See https://python-gitlab.readthedocs.io/en/v3.12.0/api-usage.html#pagination for more details. If this was done intentionally, then this warning can be supressed by adding the argument `get_all=False` to the `list()` call. (python-gitlab: /home/twisted/.asdf/installs/python/3.10.7/lib/python3.10/site-packages/gitlab/client.py:972)
  sys.exit(load_entry_point('gitlab-sync==0.1.dev14+g9f46552', 'console_scripts', 'gitlab-sync')())
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
        Cloning: ./mintel/data-warehouse/<redacted>
Group DBT (id: 13651632)
        ....

(I redacted the actual repo names, but that is the correct number of repos it cloned. I will store the actual list in ~/Documents/save_for_Nick if/when you need the real list)

python 3.10.7
git commit 9f46552
token had read_repository and read_api scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant