Add Boss package manager manifest#170
Open
freitasjca wants to merge 9 commits intowinddriver:masterfrom
Open
Conversation
Adds boss.json to make this library installable via boss install github.com/freitasjca/Delphi-Cross-Socket Zero source changes. browsingpath includes both Net/ and Utils/ because Net units depend on Utils units at compile time.
Author
|
Forgot to mention to add .gitignore file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Adds a
boss.jsonmanifest at the repo root so this library can beinstalled directly via the Boss
Delphi package manager:
Changes
boss.json— new file, one addition onlyWhat was NOT changed
Zero source changes. No
.pas,.inc,.dproj, or any other existingfile was modified. This is a metadata-only addition.
browsingpath explanation
browsingpathis set toNet/;Utils/becauseNetunits depend onUtilsunits at compile time. Boss adds both directories to theconsuming project's library search path automatically on
boss install.Action required after merging — adjust boss.json before tagging
The
boss.jsonsubmitted in this PR was prepared from a fork andcontains a
homepagepointing at the fork. Before tagging, pleaseupdate two fields to reflect the canonical upstream repository:
Current values (from fork):
{ "name": "delphi-cross-socket", "homepage": "https://github.com/freitasjca/Delphi-Cross-Socket" }Correct values for the upstream repository:
{ "name": "delphi-cross-socket", "homepage": "https://github.com/winddriver/Delphi-Cross-Socket" }The
homepagefield is what Boss displays when users inspect thepackage and what other
boss.jsondependency declarations resolveagainst. If it points at the fork, consumers who install from the
upstream repo will see the wrong URL in their lock file.
Action required after merging — create a semantic version tag
For this library to be resolvable by Boss with version constraints
(e.g.
">=1.0.0"), a Git tag with a semantic version must exist onthe repository.
After adjusting
boss.json, run:Why
v1.0.0specifically:boss.jsonvprefix —1.0.0,release-1.0,or any other format will not be recognised
Verification — confirm Boss can resolve it after tagging:
Expected output:
For all future releases, the same pattern applies — each new tag
makes a new version available to Boss consumers:
Consumers who declared
">=1.0.0"in theirboss.jsonwill pick upthe new version automatically on
boss update.