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 TAGS to TEST_TAGS and fix bugs found with gogit #31791

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

wolfogre
Copy link
Member

@wolfogre wolfogre commented Aug 7, 2024

Found at #31790 (comment)

unit-tests-gogit never work since the workflow set TAGS with gogit, but the Makefile use TEST_TAGS.

image

image

This PR adds the values of TAGS to TEST_TAGS, ensuring that setting TAGS is always acceptable and avoiding confusion about which one should be set.

After this PR:

image

@wolfogre wolfogre added type/testing skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. backport/v1.22 This PR should be backported to Gitea 1.22 labels Aug 7, 2024
@wolfogre wolfogre added this to the 1.23.0 milestone Aug 7, 2024
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 7, 2024
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 7, 2024
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Aug 7, 2024
@pull-request-size pull-request-size bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 7, 2024
@wolfogre wolfogre changed the title Add TAGS to TEST_TAGS Add TAGS to TEST_TAGS and fix bugs found with gogit Aug 7, 2024
@wolfogre wolfogre added type/bug and removed skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Aug 7, 2024
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Aug 7, 2024
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Aug 7, 2024
@techknowlogick techknowlogick merged commit de2787a into go-gitea:main Aug 7, 2024
26 checks passed
GiteaBot pushed a commit to GiteaBot/gitea that referenced this pull request Aug 7, 2024
Found at
go-gitea#31790 (comment)

`unit-tests-gogit` never work since the workflow set `TAGS` with
`gogit`, but the Makefile use `TEST_TAGS`.

This PR adds the values of `TAGS` to `TEST_TAGS`, ensuring that setting
`TAGS` is always acceptable and avoiding confusion about which one
should be set.
@GiteaBot GiteaBot added the backport/done All backports for this PR have been created label Aug 7, 2024
wolfogre added a commit that referenced this pull request Aug 7, 2024
)

Backport #31791 by @wolfogre

Found at
#31790 (comment)

`unit-tests-gogit` never work since the workflow set `TAGS` with
`gogit`, but the Makefile use `TEST_TAGS`.

<img width="690" alt="image"
src="https://github.com/user-attachments/assets/fb68df49-952b-42b9-8438-44200cefff43">


![image](https://github.com/user-attachments/assets/78ff88c7-3b5f-4d50-9c58-e607bf7b1a71)

This PR adds the values of `TAGS` to `TEST_TAGS`, ensuring that setting
`TAGS` is always acceptable and avoiding confusion about which one
should be set.

After this PR:

<img width="714" alt="image"
src="https://github.com/user-attachments/assets/54cc7f38-d95b-4dbc-a87c-daba63462b86">

Co-authored-by: Jason Song <i@wolfogre.com>
zjjhot added a commit to zjjhot/gitea that referenced this pull request Aug 8, 2024
* giteaofficial/main:
  Add `TAGS` to `TEST_TAGS` and fix bugs found with gogit (go-gitea#31791)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/done All backports for this PR have been created backport/v1.22 This PR should be backported to Gitea 1.22 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code modifies/internal size/S Denotes a PR that changes 10-29 lines, ignoring generated files. type/bug type/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants