-
Notifications
You must be signed in to change notification settings - Fork 2.6k
check_polkadot.sh: use the branch matching substrate's branch if possible #5468
Conversation
Forked at: a54932d Parent branch: origin/master
It looks like @cecton signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if i understand. What's not working properly with the current implementation and what will this improve? Is it tested?
hey o/ This change will allow the companion pr to be found just by its name. If the polkadot branch is exactly the same than the substrate branch name, then it's a match. |
I see, unfortunately this won't work that easy as the branch names are not available on gitlab. |
Yeah it's such a pain! Fortunately it's on the github API. I got it wortking, look 🤗 https://gitlab.parity.io/parity/substrate/-/jobs/440585 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay nice, if that's wanted. would be great if the messages and comments in the script could also be updated. the image rust-builder
currently doesn't have an explicit dependency on perl so I would prefer either adding that as a dependency or use basic shell utilities instead.
Well that's wanted by me at least 😅 I have converted it to a grep command but Perl is actually builtin with Debian and most of the distributions. I also updated the comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
@gabreal DIS IS GREEN QUIKLY MERGE PLZ!! 😁 (You have no idea how much I fought with the CI) |
would be good to update the contributing docs as well with such changes. |
No description provided.