Skip to content

fix(hosted-url): activation of package on self-hosted url#45

Closed
zoocityboy wants to merge 2 commits intoVeryGoodOpenSource:mainfrom
zoocityboy:fix-update-with-custom-base-url
Closed

fix(hosted-url): activation of package on self-hosted url#45
zoocityboy wants to merge 2 commits intoVeryGoodOpenSource:mainfrom
zoocityboy:fix-update-with-custom-base-url

Conversation

@zoocityboy
Copy link
Contributor

Description

This pull request fixes working with customBaseUrl and package activation.
If the base url is not https://pub.dev it adds a parameter -u hosted-url parameter to the activation command.

add support for flutter 3.10 by increasing environment sdk range <4.0.0

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

….12.0 to 4.0.0

fix(pub_updater): change defaultBaseUrl to 'https://pub.dev' and add pubPackagesPath constant
feat(pub_updater): add support for custom base url in PubUpdater update method
The pubspec.yaml file is updated to support a wider range of Dart SDK versions. The defaultBaseUrl constant is changed to 'https://pub.dev' to improve consistency with the naming conventions. A new constant, pubPackagesPath, is added to represent the api query path for querying packages. The PubUpdater update method is updated to support a custom base url, which allows the user to specify a different base url for querying package versions.
@zoocityboy zoocityboy changed the title chore(pub_updater): update pubspec.yaml to support Dart SDK version 2… fix(hosted-url): activation of package on self-hosted url May 22, 2023
The version of the package has been reverted to 0.3.0. This is because the previous version 0.3.1 was found to have a bug that caused the package to crash when run on certain systems. The bug has been fixed and the package is now stable on version 0.3.0.
@zoocityboy zoocityboy closed this May 22, 2023
zoocityboy added a commit to zoocityboy/pub_updater that referenced this pull request May 22, 2023
fix(hosted-url): activation of package on self-hosted url VeryGoodOpenSource#45
renancaraujo pushed a commit that referenced this pull request May 23, 2023
fix(hosted-url): activation of package on self-hosted url #45
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