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 note for revision vs commitID [ci skip] #3540

Merged
merged 3 commits into from
Jan 12, 2023

Conversation

llewellyn-sl
Copy link
Contributor

@llewellyn-sl llewellyn-sl commented Jan 11, 2023

Per FD#2725, added a note explaining the difference in behavior between passing a git tag or branch name vs. passing a commit ID using the -r argument.

Signed-off-by: Llewellyn vd Berg [email protected]

Per FD#2725, added a note explaining the difference in behavior between passing a git tag or branch name vs. passing a commit ID using -r. 

[ci skip]

Signed-off-by: Llewellyn vd Berg <[email protected]>
@@ -62,6 +62,8 @@ manifest Entries of the workflow manifest.
| Properties marked with a `*` are accessible only in the workflow completion and error handlers. See the `Completion handler`_ section for details.
|

.. note::
When passing a git tag or branch name using the ``-r`` argument in your CLI command, the ``workflow.revision`` and the associated ``workflow.commitId`` is populated. When passing only the Git commit ID using ``-r``, no ``workflow.revision`` is returned.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When passing a git tag or branch name using the ``-r`` argument in your CLI command, the ``workflow.revision`` and the associated ``workflow.commitId`` is populated. When passing only the Git commit ID using ``-r``, no ``workflow.revision`` is returned.
When passing a Git tag or branch name using the ``-r`` argument in your CLI command, the ``workflow.revision`` and the associated ``workflow.commitId`` is populated. When passing only the Git commit ID using ``-r``, no ``workflow.revision`` is returned.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be "are populated" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Certainly. Thanks for catching.

docs/metadata.rst Outdated Show resolved Hide resolved
@pditommaso pditommaso merged commit 8e3dba0 into nextflow-io:master Jan 12, 2023
l-modolo pushed a commit to l-modolo/nextflow that referenced this pull request Jan 25, 2023
marcodelapierre pushed a commit to marcodelapierre/nextflow that referenced this pull request Jan 27, 2023
Signed-off-by: Llewellyn vd Berg <[email protected]>
Signed-off-by: Marco De La Pierre <[email protected]>
abhi18av pushed a commit to abhi18av/nextflow that referenced this pull request Oct 28, 2023
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

Successfully merging this pull request may close these issues.

2 participants