-
Notifications
You must be signed in to change notification settings - Fork 87
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 command line debug option #304
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
There is one! nbgitpuller/nbgitpuller/pull.py Line 347 in 8827509
|
So it might be more a matter of installing a command line access to the python modules offering such services see : |
Oh i see what the problem is - the project does not use pyproject.toml yet but still has a setup.py - i didn't expect that and didn't even look for it - so the command is gitpuller. After install things with
gitpuller -h
usage: gitpuller [-h] git_url [branch_name] [repo_dir]
Synchronizes a github repository with a local repository.
positional arguments:
git_url Url of the repo to sync
branch_name Branch of repo to sync
repo_dir Path to clone repo under
options:
-h, --help show this help message and exit is available |
Unfortunately there is no debug, no verbose and no version option. Having a link to the source code is helpful though. |
I still can't find out why nbgitpuller isn't working properly in our environment. Is there a log file somewhere by default? |
Proposed change
supply a command line tool that may be used in a docker image for checking proper operation
Alternative options
Who would use this feature?
Anybody who has to debug a non working nbgitpuller environment
(Optional): Suggest a solution
Change the pyproject.toml file and add a script. use argparser or click and allow using functionality this way.
The text was updated successfully, but these errors were encountered: