Skip to content

Conversation

@JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Apr 7, 2025

Reverts commit 0c2da6e after speaking with @tbsbdr since we want to keep the functionality to manually set a version string.

Reva part of this change: opencloud-eu/reva#167

@JammingBen JammingBen self-assigned this Apr 7, 2025
@JammingBen JammingBen requested a review from rhafer April 7, 2025 11:38
Copy link
Contributor

@rhafer rhafer left a comment

Choose a reason for hiding this comment

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

Codewise this looks fine. But I am uncertain about the test. Can we wait with merging this until the reva part is merged and add a reva bump to this PR?

Update: Ah, it doesn't even build without the reva bump :-)

@JammingBen JammingBen marked this pull request as draft April 7, 2025 12:41
@JammingBen
Copy link
Contributor Author

Codewise this looks fine. But I am uncertain about the test. Can we wait with merging this until the reva part is merged and add a reva bump to this PR?

Update: Ah, it doesn't even build without the reva bump :-)

Ahh that makes sense. I converted the PR to a draft for now.

How's your reva release schedule these days? I guess it's not urgent now that v2.30.0 has just been released and this won't be part of the upcoming release anyway. So I'll just wait for the next reva release.

@rhafer
Copy link
Contributor

rhafer commented Apr 7, 2025

How's your reva release schedule these days?

You can even bump to the latest commit in main. No need to wait for a release.

@JammingBen
Copy link
Contributor Author

You can even bump to the latest commit in main. No need to wait for a release.

Could you please give me a hint on the steps necessary here? I remember appending the commit hash to reva in the go.mod file, although there was some quirk with it being two hashes or something?

@rhafer
Copy link
Contributor

rhafer commented Apr 7, 2025

go get github.com/opencloud-eu/reva/v2@main
go mod tidy
go mod vendor

should do the trick. Though I just learned that the next reva release is just around the corner. So maybe we should just wait for that. Sorry for the confusion.

@JammingBen
Copy link
Contributor Author

JammingBen commented Apr 7, 2025

go get github.com/opencloud-eu/reva/v2@main
go mod tidy
go mod vendor

should do the trick. Though I just learned that the next reva release is just around the corner. So maybe we should just wait for that. Sorry for the confusion.

Just tried locally, that does the trick - thanks. I agree through, let's wait for the release, then I'll rebase (or bump as second commit of not done already).

@JammingBen JammingBen force-pushed the feat/revert-0c2da6e branch from 431a859 to 8290d8b Compare April 7, 2025 14:41
@rhafer
Copy link
Contributor

rhafer commented Apr 8, 2025

@JammingBen I guess we can move forward with this now?

@JammingBen
Copy link
Contributor Author

@JammingBen I guess we can move forward with this now?

Yeah I'm trying to find out why https://ci.opencloud.eu/repos/3/pipeline/1078/197 fails now. It checks if edition is empty and fails if so, so it actually makes sense that it fails. But how was this working before? Or did the test not run before?

@rhafer
Copy link
Contributor

rhafer commented Apr 8, 2025

Yeah I'm trying to find out why https://ci.opencloud.eu/repos/3/pipeline/1078/197 fails now. It checks if edition is empty and fails if so, so it actually makes sense that it fails. But how was this working before? Or did the test not run before?

Before 08bba95 the edition was never empty (AFAIK this was done before all tests where actually running). Then tests where enabled which caused the failure you're just seeing. Then I added the commit you're currently reverting.

I guess we need to adapt the test expectations now. (Or remove tests which no longer make sense).

This check doesn't make sense anymore since the edition is empty in the capabilities if not set manually.
@JammingBen JammingBen marked this pull request as ready for review April 8, 2025 08:46
@JammingBen JammingBen requested a review from rhafer April 8, 2025 08:46
@rhafer rhafer merged commit 3ca9a59 into main Apr 8, 2025
51 checks passed
@rhafer rhafer deleted the feat/revert-0c2da6e branch April 8, 2025 14:10
@openclouders openclouders mentioned this pull request Apr 8, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants