Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "resolved-command" ? #222

Open
yarikoptic opened this issue Nov 7, 2024 · 1 comment
Open

Add "resolved-command" ? #222

yarikoptic opened this issue Nov 7, 2024 · 1 comment

Comments

@yarikoptic
Copy link
Member

not yet even sure it would help in my case. I wanted to record which actual git-annex (I have many installed and adjust PATH to use specific one) is used via testing which command was actually executed -- likely we would need to traverse $PATH "manually" for that. But it would not even help since I would determine git but it would not necessarily be overloaded along with git-annex. So it would require ad-hoc handling to determine actual git command and see if it is annex... not yet sure if worth the complexity.

@asmacdo
Copy link
Member

asmacdo commented Nov 11, 2024

IIUC idea is, prior to execution, we execute a different command and record the results into info.json?

In my view it would we would really want to be able to execute multiple commands, and place each into its own custom field, ie which datalad -> datalad_path

Also seems useful for recording versions of things

I imagine we would want to add a top level field to namespace extra fields in the file. Heres a few GPT suggestions I liked

extensions: Suggests that this part of the dict is for custom or additional fields beyond the main structure.
custom_fields: Clearly indicates that the fields are not part of the original set.
metadata: Commonly used for supplementary or additional data.
extras: Implies added, non-essential data.
annotations (my vote): If the fields are more about adding descriptive or auxiliary information.
supplemental_data: For extra data that enhances the existing information.

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

No branches or pull requests

2 participants