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

Automatic installation of GitHub CLI, Git and Git LFS #34

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

User21T
Copy link

@User21T User21T commented Nov 30, 2024

I have added requests and urllib3 packages in the first place to handle downloading files from Internet via Python script. Then I have rewritten code in pbsync/main.py to allow PBSync for automatic installation of GitHub CLI, Microsoft's Git and Git LFS. For more information see ticket #7.

First, the program checks whether GitHub CLI isn't already installed. If yes, then it proceeds forward. Otherwise, it starts downloading installation file for GH CLI. When downloading fails once, the program will repeat the process 5 times at most until passing. If download and installation process is successful, then Git and Git LFS are installed via GitHub CLI and terminal commands.

Workflow is improved, because we don't download separately by a browser. We can also repeat the version check/install process. Since we are repeating GitHub CLI download process, we don't have to terminate it because of temporary problems like no Internet connection.

Add automated installation of GitHub CLI (if not available), Microsoft's Git and Git LFS in regards to the operating system (Windows, Mac OS)
Add "requests" and "urllib3" package to handle GitHub CLI download
@User21T User21T changed the title Automatic install of GitHub CLI, Git and Git LFS (see ticket #7) Automatic install of GitHub CLI, Git and Git LFS Nov 30, 2024
@User21T User21T changed the title Automatic install of GitHub CLI, Git and Git LFS Automatic installation of GitHub CLI, Git and Git LFS Nov 30, 2024
@User21T User21T marked this pull request as draft December 5, 2024 19:20
@User21T User21T marked this pull request as ready for review December 5, 2024 19:21
@User21T User21T marked this pull request as draft December 5, 2024 19:21
@User21T User21T marked this pull request as ready for review December 5, 2024 19:21
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

Successfully merging this pull request may close these issues.

1 participant