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

Enhance tools/scan_for_updates.py to also accept path to a PackageInfo.g file #1024

Open
fingolfin opened this issue Sep 5, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@fingolfin
Copy link
Member

For local testing before a release is made, it would be nice if one could write

 tools/scan_for_updates.py path/to/some/my_gap_package

and then it takes the PackageInfo.g in that directory (or complains if it is missing) and imports that instead of downloading anything.

Basically one could detect the case were there is a single argument that is a valid path to a directory containing a PackageInfo.g, and in that case skip most of the main function and directly call import_packages which takes a list of PackageInfo.g paths as argument anyway.

@fingolfin fingolfin added the good first issue Good for newcomers label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant