Replies: 2 comments
-
|
I can do a (small) PR with this, if you think it's a good idea. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@mazhelez can I have your view on this? If we can decide on naming of the new settings (if we do not want to change existing behavior?) this will be quite a small fix, that I can provide if you want? My suggestion would be to not modify existing behavior (always scary), instead we add two new values for the
Do you want a PR on this, and we can sort out details there? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to wrap my head around how to work with the
release_statusofappDependencyProbingPaths...We've got several AppSource apps that all have dependencies on two library apps. All apps are in separate repositories.
First, we update our library apps to a state that we want to ship, then we create a prerelease of them.
In the settings for the AppSource apps:
When both library apps are updated, we run CI/CD of the AppSource app. This will now include the prereleases of the library apps.
When submitting to AppSource, we create a prerelease of the app.
If we need to update something in the library app, we then create a new prerelease, run CI/CD for the AppSource app and create a new prerelease of the AppSource app and submit to AppSource again.
When the AppSource app is published, we remove the prerelease flag of the release. And if any of the library apps that was submitted at the same time, we also remove the prerelease flag of the library app release.
So, right after AppSource app is live on AppSource each repo, both for the library apps and the AppSource apps, has several releases and probably also some prereleases - that will never be released. The latest release is now a "regular release", ie. not prerelease and not draft.
Next time we need to publish any of the AppSource apps, we often do not need to update any of the library apps. So, we only build the AppSource app. BUT, if we don't update our settings (no, we do not like to update settings back and forth), we still try to use the latest prerelease of our library apps. And as AL-Go works today, it now selects only prereleases - even if there is a release that is newer than the prerelease!
This snippet shows how releases are filtered from the
release_statussettings:I think this is wrong, or at least quite un-useful if you're not into changing settings back and forth...
When having setting
prerelease, the latest of both releases and prereleases should be used.When having setting
draft, the latest of all releases should be used - release/prerelease/draft.I understand that a change of this behavior could be considered a breaking change, so instead of changing the behavior of the current
release_statussettings, we could add a couple of new ones:Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions