Replies: 12 comments 1 reply
-
You should tell the plugin author that everything should be configured with settings. However, it's not directly deprecated, you can just use it if it works for you and it should continue working. You just don't have access to some plugin-specific filters like secret filtering. |
Beta Was this translation helpful? Give feedback.
-
It is a Drone plugin, it won't necessarily follow WP conventions. I think as this point in time, many old drone plugins will stop to work with WP due to the recent We should highlight that most Drone plugins are not compatible anymore. |
Beta Was this translation helpful? Give feedback.
-
If this is the informed decision to give up compatibility to drone plugins this should be stated on the website. At the moment the plugins doc page (https://woodpecker-ci.org/docs/usage/plugins/overview) points to this impressive list: https://plugins.drone.io For this particular plugin, I need environment variable string operations on an arbitrary list of vars.
passes the plugins env var So in the end I will need something like:
Can the parser handle this syntax and what would the plugin get? |
Beta Was this translation helpful? Give feedback.
-
Agreed, this is currently not reflected at all, I guess.
Correct. Simple strings and maps work without issues, however lists don't work OOB with the new I am not sure which version you're on but if you're not yet running |
Beta Was this translation helpful? Give feedback.
-
I am on 2.7.2, so this is not a problem right now, but we still use a lot of drone plugins and I need to plan ahead. But it will be hard to get the "This is a plugin for drone and woodpecker" out of the internet. Personally I would not care to maintain two similair plugins if I only use one or the other build system. |
Beta Was this translation helpful? Give feedback.
-
Hooray! I'm in!
|
Beta Was this translation helpful? Give feedback.
-
I fully understand your point. I guess Drone compatibility was great "until it lasted" - overall Woodpecker is a hard-fork and compatibility won't last forever. NB: this breaking change wasn't forced to enforce this break, everyone would like to stay compatible. Also, I didn't push for this change to happen. I am only moderating.
Sure, nobody would. If you really attempt a fork and the initial maintainer is not interested in a port, you are welcome to host it within https://codeberg.org/woodpecker-plugins if you want. Not a requirement, of course.
Most are still compatible. And the breaking change isn't even in effect yet. Everyone is welcome to contribute to the docs. Rephrasing the docs and stating that some plugins might not be compatible anymore is a welcome action. |
Beta Was this translation helpful? Give feedback.
-
The problem is not in docs or FOSS or whatever. I was told twice by two of maintainers, that there is the compatibility. Last time it was 9 of September.
So, decide whether you have compatibility or not. And then we can fix the docs, plugins page, tackle PRs accordingly. Here is the FOSS part: @woodpecker-ci/maintainers please vote on this post: 👍 maintain compatibility with Drone plugins and advertise it 👎 do not |
Beta Was this translation helpful? Give feedback.
-
Nobody can follow all conversations and I can't speak for others. All people of the "maintainers" team speak mostly for themselves first and one shouldn't take all statements as a general opinion of the entire group. Reality is that the breaking change forcing the use of And I also can't speak in the name of others, yet I guess that "Drone compatibility" is not necessarily inferring full compatibility as WP is not a soft-fork of Drone (and never indented to be). I only tried to communicate here what is the current state. I did not make any of the decisions leading to this change and hence won't take any responsibility for them. |
Beta Was this translation helpful? Give feedback.
-
For me as a user the drone, compatibility is not an issue if we are talking about the syntax of the pipelines. If the projects decision is to give up (partially or completely) the drone compatibility this is ok for me if this is communicated in advance on the website so everyone can prepare. Maybe the original drone plugin authors will contribute if they know what is going on. Sometimes a clear cut is better than half baked compatibility. At least it gives more room for improvement. |
Beta Was this translation helpful? Give feedback.
-
Doesn't seem so: 1, 2. BTW, they promise compatibility with Drone plugins in Gitness. |
Beta Was this translation helpful? Give feedback.
-
Besides, Drone had 10 commits in a year. Also: https://github.com/harness/harness#where-is-drone
-> Drone is dead, whatever "Gitness" will be in the end. Users need to decide at some point whether they want to go with Gitness or WP. |
Beta Was this translation helpful? Give feedback.
-
Component
server
Describe the bug
I am using this drone plugin: https://github.com/appleboy/drone-ssh
And I need additional env vars set in my script (and the optional env var for deployment
$TAG
will override the constantdev
)How is this supposed in the futire as I get the linter warning: Should not configure both environment and settings
The docs of this plugin explicitly state this kind of usage. Is there differnet woodpecker plugin for the same use?
Steps to reproduce
Should be obvious
Expected behavior
No response
System Info
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]Beta Was this translation helpful? Give feedback.
All reactions