2
2
Fork
You've already forked portfmt
4

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

Is there a way in general to leverage the information already in Mk/Uses/* and not need to duplicate
it in portfmt as well?

Is there a way *in general* to leverage the information already in Mk/Uses/* and not need to duplicate it in portfmt as well?
Owner
Copy link

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.
Sign in to join this conversation.
No Branch/Tag specified
main
release/1.1
v1.1.6
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.0
g20210321
g20200924
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
Reference in a new issue
tobik/portfmt
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?