Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd description to buildbot steps #438
Conversation
|
Looking at the docs again and the current waterfall, I actually think a slightly different approach is better here. The raw ShellCommands (not Compile or Test) already put the whole command as the description, so let's not do anything in that case. Furthermore, what we need to do is set We should be smart about setting
An example:
would turn into a Since the Thoughts @edunham ? |
|
Also, please make the same change to both |
|
Done! |
| @@ -110,6 +110,22 @@ def make_step(self, command): | |||
| step_kwargs['logEnviron'] = False | |||
| step_env += envs.upload_nightly | |||
|
|
|||
| step_desc_suffix = [] | |||
This comment has been minimized.
This comment has been minimized.
aneeshusa
Jul 18, 2016
Member
I'd prefer to integrate this code into the loop above instead of trying to re-parse things like --log-.*. Here's a rough sketch of one way to do it, feel free to modify as needed for ergonomics:
- Create a
step_desclist before thefor arg in args:loop. - Inside the
./machblock, append both the./machtoken and themach_argtoken tostep_desc. - Don't change the
logblock, so those tokens won't get added to the description. - Add an
elseor similar at the end to append any other tokens to the description. (I think you might have to change the lastelifto accommodate this properly.)
| @@ -82,7 +82,7 @@ def make_step(self, command): | |||
|
|
|||
| command = command.split(' ') | |||
|
|
|||
| # Add bash -l before every command on Windows builders | |||
| # Add `bash -l` before every command on Windows builders | |||
This comment has been minimized.
This comment has been minimized.
|
Done. will be turned into: It is ok to keep |
|
|
|
Looks good to me; r=me with the merge conflict fixed |
|
rebased. |
|
|
|
r- from me on this, this doesn't look like it works (confirmed with a quick Python 2 REPL), but leaves the description as just one token. I will follow up with details shortly. |
|
I added missing |
|
This is waiting on feedback from @aneeshusa. |
|
Sorry about the delay, looks good to me. @bors-servo r+ |
|
|
Add description to buildbot steps Fixes #337 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/438) <!-- Reviewable:end -->
|
|
Fix buildbot step description for shell commands This should fix description for shell commands where after #438 shows only "ran", instead of command. r? @aneeshusa <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/472) <!-- Reviewable:end -->
UK992 commentedJul 13, 2016
•
edited by larsbergstrom
Fixes #337
This change is