harald/pythonbuilder
1
0
Fork
You've already forked pythonbuilder
0

Dependencies for a target should optionally have names #1

Open
opened 2025年05月27日 12:18:07 +02:00 by harald · 0 comments

Current Situation

To create a target, the dependencies are often input parameters. When the function to create a target is called, different dependencies may need to be used for different purposes, so they are much like the parameter list of a function.

This requires that dependencies may need to be specified in a defined order which is understood by the creation function.

But target definition and creation function may not be close to each other in the source code, so getting the dependency order correct and keeping it correct when changes are made may become cumbersome.

Requirement

Dependencies of a target should optionally have names, such that a creation function can access them by name instead by an index like target.dependencies[3].

# Current Situation To create a target, the dependencies are often input parameters. When the function to create a target is called, different dependencies may need to be used for different purposes, so they are much like the parameter list of a function. This requires that dependencies may need to be specified in a defined order which is understood by the creation function. But target definition and creation function may not be close to each other in the source code, so getting the dependency order correct and keeping it correct when changes are made may become cumbersome. # Requirement Dependencies of a target should optionally have names, such that a creation function can access them by name instead by an index like `target.dependencies[3]`.
Sign in to join this conversation.
No Branch/Tag specified
main
v-2025年10月23日
list
v-2025年09月26日
v-2025年09月21日
v-2025年09月18日
v-2025年08月21日
v-2025年08月17日
v-2025年08月03日
v-2025年07月27日
v-2025年05月31日
v-2025年05月10日
No labels
feature
refactoring
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
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
harald/pythonbuilder#1
Reference in a new issue
harald/pythonbuilder
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?