-
Notifications
You must be signed in to change notification settings - Fork 12
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
Lack of DRONE_VERSION #21
Comments
Oh man.
Maybe there is an another way to detect the version. Hopefully.
|
Yeah I'm not sure. Another option is to publish tagged versions for the plugin with different support and elliminate the 0.4 support. However there will be other users depending on |
Let's wait for their answers and I can push a 0.4 tag along.
I don't think it's too harsh to make latest going further and be, as its
name suggest, the latest (Considering they are already version 0.8)
…On 16 November 2017 at 16:53, Hugo Tunius ***@***.***> wrote:
Yeah I'm not sure. Another option is to publish tagged versions for the
plugin with different support and elliminate the 0.4 support. However there
will be other users depending on latest being compatible with 0.4 so
that's not a good idea as it stands
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAoZjZmZ6Pn0PC2dhuIL4UElo69bUefTks5s3GiHgaJpZM4Qgyoh>
.
|
Well there aren't any tags so people didn't previously have the option to depend on a specific version. I know a lot of our usage would break with such a change |
Just to note, everything <= 0.5 is EOL on the drone core side. |
It turns out you can do this environment:
- DRONE_VERSION=0.8 # Attempt to fool the artifactory plugin |
Do you like that or... ? I still think we could benefit from having Docker tags anyway |
It works on latest to make |
I think I feel a bit weird of using an env variable (I mean, that the user
has to set up) in order to toggle Drone implementation.
As a user yourself, do you see that as an issue?
|
It's definitely a workaround, however maintaining Drone 0.4 compatibility is important. |
Maybe we could keep `latest` as having 0.4 support and new tags for the
following?
…On 30 November 2017 at 14:00, Hugo Tunius ***@***.***> wrote:
It's definitely a workaround, however maintaining Drone 0.4 compatibility
is important.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAoZjVWK0DNgBuRtajX8-vv4Li-Yi6yvks5s7rTigaJpZM4Qgyoh>
.
|
Keeping a dead version is important? |
It wouldn't be if tagged versions had been published previously and their used encouraged. Given that that's not the case, yes it's important as it would break usage for anyone with < Drone 0.5 |
I don't believe that there are lots of such old installations flying around but it's up to you. |
So I think the
DRONE_VERSION
environment variable was removed from Drone at some point between 0.5 and 0.8. This causes the plugin to go down the pre 0.5 code path and fail despite the fixes in #19 and #20. I've asked in the issue that requested the variable be introduced. harness/harness#1415The text was updated successfully, but these errors were encountered: