Skip to content

Issue with specific repo #6

Description

@Andrew-Wichmann

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions