Is there a way in general to leverage the information already in Mk/Uses/* and not need to duplicate
it in portfmt as well?
should support GO_ENV and related flags from Mk/Uses/go.mk #32
Closed
opened 2025年03月30日 14:21:30 +02:00 by dch
·
1 comment
dch
commented 2025年03月30日 14:21:30 +02:00
Is there a way *in general* to leverage the information already in Mk/Uses/* and not need to duplicate
it in portfmt as well?
tobik
commented 2025年04月03日 18:10:43 +02:00
Is there a way in general to leverage the information already in Mk/Uses/* and not need to duplicate
it in portfmt as well?
If Portfmt ever learns how to expand macros then maybe? But a list/ordering of manually curated user-settable variables would be needed anyway for merging variables and portclippy. There could be tooling to help maintain that list. The list should live in the ports tree as well instead of being hardcoded in Portfmt, see #25
Anyway GO_ENV etc were added on the release/1.1 branch.
> Is there a way in general to leverage the information already in Mk/Uses/* and not need to duplicate
it in portfmt as well?
If Portfmt ever learns how to expand macros then maybe? But a list/ordering of manually curated user-settable variables would be needed anyway for merging variables and `portclippy`. There could be tooling to help maintain that list. The list should live in the ports tree as well instead of being hardcoded in Portfmt, see https://codeberg.org/tobik/portfmt/issues/25
Anyway `GO_ENV` etc were added on the `release/1.1` branch.
tobik
closed this issue 2025年04月03日 18:10:44 +02:00
Sign in to join this conversation.
No Branch/Tag specified
Labels
Clear labels
bug
Something is not working
contribution welcome
Contributions are very welcome, get started here
duplicate
This issue or pull request already exists
enhancement
New feature
good first issue
Interested in contributing? Get started here.
help wanted
Need some help
invalid
Something is wrong
question
More information is needed
upstream
Related to an upstream repository, already reported there
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
tobik/portfmt#32
Loading...
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?