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

FIX: FreeSurfer without adding some fs* to --output-spaces #1643

Merged
merged 2 commits into from May 21, 2019

Conversation

oesteban
Copy link
Member

Tested locally, closes #1641.

Additionally, parse commit title to skip other build targets if it starts
with ``docs:`` or ``docs(text):``.

FORCING commit to make sure that CircleCI workflow has not been broken.
Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

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

Seems fine.

- run:
name: Check whether build should be skipped
command: |
if [[ "$( git log --format='format:%s' -n 1 $CIRCLE_SHA1 | grep -i -E '^docs?(\(\w+\))?:' )" != "" ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

I see you've created a new committing convention; is it documented somewhere?

Also, is it a good idea to skip tests if the most recent commit is a doc update? It seems likely to trip people up.

Copy link
Member Author

Choose a reason for hiding this comment

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

is it documented somewhere?

It's not. I can add documentation if we finally decide to keep it.

It seems likely to trip people up.

Why? we should be careful though and always request for a full build before merging, but this adds nice flexibility when you are in the middle of a big PR (or situations like Franklin's).

Copy link
Member

Choose a reason for hiding this comment

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

It seems likely to trip people up.

Why?

Just because if I were putting together a batch of commits to submit, docs would often be the last thing before submitting.

Copy link
Member Author

Choose a reason for hiding this comment

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

For users: at that point we would walk them through forcing one more commit

For us, we can just use dox to indicate that the commit is documentation but you want to trigger a full build.

Honestly, I think the risks/value tradeoff is clear here. On the bright side, it is a lot easier to ask people to commit with docs: than [skip ds005][skip ds054][skip ds210][skip tests] which would be equivalent (although it would waste time building the docker image).

Copy link
Member Author

Choose a reason for hiding this comment

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

Would you be okay merging and keeping the discussion (here or elsewhere)? I think the discussion is worth having and merging this would not be harmful.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, this is fine.

@oesteban oesteban merged commit 9f21b46 into nipreps:master May 21, 2019
@oesteban oesteban deleted the fix/1641 branch May 21, 2019 00:27
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.

Module bold_std_trans_wf has no output called poutputnode.bold_aseg_std
2 participants