Skip to content

Test issue (Testing the label command from rustbot) #7599

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

Closed
xFrednet opened this issue Aug 25, 2021 · 28 comments
Closed

Test issue (Testing the label command from rustbot) #7599

xFrednet opened this issue Aug 25, 2021 · 28 comments
Labels
C-bug Category: Clippy is not doing the correct thing

Comments

@xFrednet
Copy link
Member

This should add the label:

@rustbot label +C-an-interesting-project

And this should not:

@rustbot rustbot added C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. C-question Category: Questions and removed C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. labels Aug 25, 2021
@xFrednet
Copy link
Member Author

Hmm

@xFrednet
Copy link
Member Author

  • @rustbot label +C-an-interesting-project

@rustbot rustbot added the C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. label Aug 25, 2021
@xFrednet
Copy link
Member Author

@rustbot label +C-an-interesting-project

@rustbot label +C-Question

@xFrednet
Copy link
Member Author

@rustbot label -C-an-interesting-project

@rustbot label -C-Question

@rustbot rustbot removed the C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. label Aug 25, 2021
@xFrednet
Copy link
Member Author

🤔

@xFrednet xFrednet removed the C-question Category: Questions label Aug 25, 2021
@xFrednet
Copy link
Member Author

@rustbot label +C-an-interesting-project +C-Question

@rustbot rustbot added C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. C-question Category: Questions labels Aug 25, 2021
@xFrednet
Copy link
Member Author

Okay, I got my answers. If someone is reading this: Here, have a cookie 🍪

@xFrednet
Copy link
Member Author

Wait, not quite done yet

@rustbot rustbot removed the C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. label Aug 25, 2021
@xFrednet
Copy link
Member Author

Hmmmm

@xFrednet
Copy link
Member Author

What about this:

@xFrednet
Copy link
Member Author

And this:

@rustbot label -C-Question

@xFrednet
Copy link
Member Author

I think I broke him....

@xFrednet
Copy link
Member Author

@rustbot label +C-Bug

@rustbot rustbot added the C-bug Category: Clippy is not doing the correct thing label Aug 25, 2021
@xFrednet xFrednet removed C-bug Category: Clippy is not doing the correct thing C-question Category: Questions labels Aug 25, 2021
@xFrednet
Copy link
Member Author

@rustbot label +C-question

@rustbot rustbot added the C-question Category: Questions label Aug 25, 2021
@xFrednet xFrednet removed the C-question Category: Questions label Aug 25, 2021
@xFrednet
Copy link
Member Author

@rustbot label +

@xFrednet
Copy link
Member Author

That's an even better solution... I should really stop with the spam now xD

bors added a commit that referenced this issue Aug 27, 2021
Updated issue templates(formatting and rustbot label reference)

This PR updates our issue templates. The changes are:

1. **Make the *Meta* section smaller and not indented**

    The current format sometimes gets messed up when a user simply pasts the rustc version into the issue without indenting it to match the code block. Removing the indention should hopefully help with formatting in the future.

    <details><summary>Example of messed up formatting </summary>

    ![image](https://user-images.githubusercontent.com/17087237/130811809-2b9bc58e-c13f-4338-b34e-18648a5de413.png)

    </details>

    Additionally, I've removed the Version of Clippy from the template. Every issue that I have seen had matching rustc and Clippy versions, and just asking for `rustc -Vv` makes the issue look cleaner IMO.

2. **Add a comment explaining how additional labels can be added with ``@rustbot` label +<label>`. The explanation looks like this:**

    ```
    <!--
    Additional labels can be added to this issue by including the following command:

    `@rustbot` label +<label>

    Common labels for this issue type are:
    * `I-suggestion-causes-error`
    -->
    ```

    The example ``@rustbot`` call can sadly not be marked as code inside a comment block. But the example will not cause the bot to add any labels. See #7599

---

changelog: none

cc: `@rust-lang/clippy`
@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

@rustbot label ss

@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

@rustbot label +C-Bug

@rustbot rustbot added the C-bug Category: Clippy is not doing the correct thing label Sep 3, 2021
@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

@rustbot label -C-Bug

@xFrednet xFrednet removed the C-bug Category: Clippy is not doing the correct thing label Sep 3, 2021
@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

@rustbot label +C-Bug

@rustbot rustbot added the C-bug Category: Clippy is not doing the correct thing label Sep 3, 2021
@xFrednet xFrednet removed the C-bug Category: Clippy is not doing the correct thing label Sep 3, 2021
@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

@rustbot label

@rustbot
Copy link
Collaborator

rustbot commented Sep 3, 2021

Error: Parsing relabel command in comment failed: ...'tbot label' | error: a label delta at >| ''...

Please let @rust-lang/release know if you're having trouble with this bot.

@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

(at)rustbot label +C-Bug

@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

@rustbot

@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

One more test (@)rustbot label +Hello

@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

@ rustbot label +Hello

@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

What about this:

@xFrednet
Copy link
Member Author

xFrednet commented Sep 3, 2021

Now again without the backticks

@rustbot label +C-Bug

@rustbot rustbot added the C-bug Category: Clippy is not doing the correct thing label Sep 3, 2021
bors added a commit that referenced this issue Sep 5, 2021
…=llogiq

Updating issue templates again for rustbot

It turns out that our current issue template can sometimes trigger a rustbot error message, as can be seen in [#7626](#7626). I originally tested this in #7599, but it's apparently a bit inconsistent. This PR adds backticks to the commands, as correctly suggested by `@mikerite` in the comments. (Thank you!)

``@rustbot` label +S-blocked`

---

Now I also pushed a tiny link fix as well. 🙃

---

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Clippy is not doing the correct thing
Projects
None yet
Development

No branches or pull requests

2 participants