Skip to content

Allow users to upgrade to arbitrary github remote #3901

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

robbintt
Copy link

This change allows users to upgrade to an arbitrary github remote.

  • Update --install-main-branch to take an optional url
  • rename it to --update-branch to be more generic.

Usage Example

(aider-dev) 🔥 aider --install-branch git+https://github.com/robbintt/aider.git@robbintt-arbitrary-branch-install
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Install the development version of aider from 
git+https://github.com/robbintt/aider.git@robbintt-arbitrary-branch-install?

/home/robbintt/virtualenvs/aider-dev/bin/python3 -m pip install --upgrade --upgrade-strategy only-if-needed 
git+https://github.com/robbintt/aider.git@robbintt-arbitrary-branch-install
Run pip install? (Y)es/(N)o [Yes]:                                                                                       

Installing: /home/robbintt/virtualenvs/aider-dev/bin/python3 -m pip install --upgrade --upgrade-strategy only-if-needed git+https://github.com/robbintt/aider.git@robbintt-arbitrary-branch-install
                
Installation complete.

@CLAassistant
Copy link

CLAassistant commented Apr 27, 2025

CLA assistant check
All committers have signed the CLA.

@robbintt robbintt changed the title Allow users to upgrade to arbitrary github Allow users to upgrade to arbitrary github remote Apr 27, 2025
@robbintt robbintt marked this pull request as ready for review April 27, 2025 22:42
@robbintt robbintt marked this pull request as draft April 28, 2025 03:32
@robbintt
Copy link
Author

robbintt commented May 8, 2025

Planning to add an arbitrary "downgrade" option, although it may be possible by directly "upgrading" to a versioned git tag using this PR.

@robbintt
Copy link
Author

uv may allow the user to downgrade back to releases, haven't tested it.

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.

2 participants