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

Support Git as only VCS #4346

Merged
merged 17 commits into from
Dec 27, 2024
Merged

Support Git as only VCS #4346

merged 17 commits into from
Dec 27, 2024

Conversation

qwerty287
Copy link
Contributor

Only support git as vcs and remove the corresponding env var CI_REPO_SCM.

@qwerty287 qwerty287 added refactor delete or replace old code breaking will break existing installations if no manual action happens labels Nov 10, 2024
@qwerty287 qwerty287 requested a review from a team November 10, 2024 15:58
anbraten
anbraten previously approved these changes Nov 10, 2024
docs/src/pages/migrations.md Outdated Show resolved Hide resolved
6543
6543 previously requested changes Nov 10, 2024
Copy link
Member

@6543 6543 left a comment

Choose a reason for hiding this comment

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

e.g. #2355 integration

and more could come, so it does not add much maintinance to keep it as generic as it is now

@6543
Copy link
Member

6543 commented Nov 10, 2024

why was this initially proposed at all? e.g. what's the reason behind?

@6543
Copy link
Member

6543 commented Nov 10, 2024

I see the current architecture that we can support more than git even as far as an "selling" over other cicd systems

@xoxys
Copy link
Member

xoxys commented Nov 10, 2024

e.g. #2355 integration

How are other git forges that were implemented by an external plugin related to removing none-git vsc systems?

I see the current architecture that we can support more than git even as far as an "selling" over other cicd systems

I don't see it as a selling point especially not as e can't even handle all existing bugs for the existing feature set already.

why was this initially proposed at all?!? e.g. what's the reason behind?

I would like to kindly ask you again not to communicate with so many punctuation marks. It's hard to read and a somewhat “aggressive” tone.

@6543
Copy link
Member

6543 commented Nov 10, 2024

PS: still thanks for thinking how to slim down and remove legacy code :)

@qwerty287
Copy link
Contributor Author

qwerty287 commented Nov 11, 2024

I don't see it as a selling point especially not as e can't even handle all existing bugs for the existing feature set already.

That's also my point. Radicle has a git "bridge" so it should work.

And we can't have everything as selling point. At some point, we should have some limitations, we can't build the "egg-laying woolly milk sow" (don't know if there's a proper English saying 😅).

@6543
Copy link
Member

6543 commented Nov 11, 2024

we can't build the "egg-laying woolly milk sow"

agree but this is realy not much code and losing it is a shame ...

@6543
Copy link
Member

6543 commented Nov 11, 2024

I as an owner wana veto this change

@pat-s
Copy link
Contributor

pat-s commented Nov 15, 2024

Without any opinion: Should this PR be closed then?

@xoxys
Copy link
Member

xoxys commented Nov 15, 2024

If a single owner has the power to block PRs at any time, yes.

@qwerty287
Copy link
Contributor Author

Well, @anbraten approved it...

@woodpecker-bot
Copy link
Contributor

woodpecker-bot commented Nov 16, 2024

Deployment of preview was torn down

@6543
Copy link
Member

6543 commented Nov 17, 2024

well the argument stands: either merge it, in this case I will also merge things, that got denyed from me, because an owner is for it ... or block it untill veto is removed in this case untill I'm no owner anymore. next election is in 1 months btw. ...

so yes our community gudelines dont have a clear statement of when the owners dissagree - wich would not be a problem if we would have $owner.mod(2) = 0 (and if there is something stated as majority of owners agree ..), .. witch we currently dont.

so I personally interpret it as veto. ?

@xoxys
Copy link
Member

xoxys commented Nov 17, 2024

I just dont understand your point. Right now there is not a single none-git forge supported in woodpecker core right? So this code is unused and useless. To keep it just because we might or might not support none-git forges doesnt make sense to me. Even if we would like to support such forges we could also do it by an official extension in the same way we do it for plugins.

@pat-s
Copy link
Contributor

pat-s commented Nov 18, 2024

As this is now more a political issue than a code-one, it would be great if you @6543 @anbraten could discuss the general governance part how to proceed in such situations.

@qwerty287 I think there's not much value in further branch updated until this is resolved?

@qwerty287
Copy link
Contributor Author

Tbh I personally think owners should only exist because they're necessary, but they shouldn't have additional permissions like a veto. All maintainers should have the same possibilities. If the maintainers can't come to a conclusion, it's fine that an owner's vote counts more or something like this. You still need owners of course because we have servers and online accounts etc. And thus I also think the name "owners" is not the best, "admins" would be better.

@qwerty287
Copy link
Contributor Author

Extensions, LOL. Even config service has not been working since start of the year.

I don't get your point. Addon forges should work and for cloning you can use anything as I said already.

@pat-s
Copy link
Contributor

pat-s commented Dec 5, 2024

@qwerty287 I am not really sure what this PR is waiting on. I see you rebase frequently. So, we are stuck here somehow and nobody wants to act I guess?

@qwerty287
Copy link
Contributor Author

Yes well I kinda still wait for a decision. I just update my branch to not get too many conflicts, but that's no big task...
We should discuss this owner-veto thing or do a vote among maintainers about this change.

@xoxys
Copy link
Member

xoxys commented Dec 16, 2024

@woodpecker-ci/maintainers please vote on this post for this PR. 👍 merge 👎 close

@pat-s
Copy link
Contributor

pat-s commented Dec 27, 2024

The tendency seems to be in clear favor or removal judging from the last comments and overall discussion. To move on here and get this into 3.0 as it is breaking, I'll merge this now.

@pat-s pat-s enabled auto-merge (squash) December 27, 2024 15:00
@qwerty287
Copy link
Contributor Author

@6543 requested changes so it can't be merged until the review is dismissed...

@xoxys
Copy link
Member

xoxys commented Dec 27, 2024

Well then dismiss it?

@pat-s
Copy link
Contributor

pat-s commented Dec 27, 2024

I guess only owners can?

@xoxys
Copy link
Member

xoxys commented Dec 27, 2024

No

image

@xoxys xoxys dismissed 6543’s stale review December 27, 2024 16:25

As discussed

@xoxys
Copy link
Member

xoxys commented Dec 27, 2024

Done now.

Copy link

codecov bot commented Dec 27, 2024

Codecov Report

Attention: Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.

Project coverage is 28.24%. Comparing base (b4055e8) to head (f3b794f).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...r/store/datastore/migration/023_remove_repo_scm.go 70.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4346      +/-   ##
==========================================
- Coverage   28.25%   28.24%   -0.01%     
==========================================
  Files         399      400       +1     
  Lines       28238    28232       -6     
==========================================
- Hits         7978     7974       -4     
+ Misses      19555    19552       -3     
- Partials      705      706       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pat-s pat-s merged commit fdfabe6 into woodpecker-ci:main Dec 27, 2024
9 checks passed
@woodpecker-bot woodpecker-bot mentioned this pull request Dec 27, 2024
1 task
@qwerty287 qwerty287 deleted the git-only branch December 28, 2024 06:10
@6543
Copy link
Member

6543 commented Jan 1, 2025

well I'm still against this cange but It looks like i have to creat a pull and rebase it untill all others see it worth adding it again ... :/

6543 added a commit to 6543-forks/woodpecker that referenced this pull request Jan 1, 2025
@6543 6543 mentioned this pull request Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking will break existing installations if no manual action happens refactor delete or replace old code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants