-
Notifications
You must be signed in to change notification settings - Fork 473
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
Release info confusing/misleading #69
Comments
@seanmcleod I agree with you, that's a misleading piece of information. May be something along the line of this? |
I think for now we just need to have the Release info on the GitHub Release page make it clear that the binaries are based on the latest commit. Users can browse through the commit messages for now. |
For now I've added the following comment to the release notes.
|
As far as I can tell, there's currently no well-defined version release of this package. There's one tagged commit on github from last May with no evidence that it was intended as a formal release (and certainly no version number), and there's a version 1.0.0.dev1 on PyPI which does not correspond to any tag in the |
Greetings, |
Does continuous deployment mean that there are no stable releases? Users
need to know which versions are considered relatively stable and which are
not. This is impossible with the current scheme.
…On Wed, Jan 9, 2019 at 2:27 AM Agostino De Marco ***@***.***> wrote:
Greetings,
we, JSBSim main developers/users, definitely need and welcome, any kind of
help and support in the area of continuous deploy.
Thanks in advance to anyone who will contribute to tune our CI workflow!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABBBxO13PNF5ZWTbIfMS2wrkPI2jeXDtks5vBcQGgaJpZM4UtGz5>
.
|
@Phillip-M-Feldman correct we don't currently mark any particular commit as stable or have stable branches. Any commit that builds successfully and passes all the test cases is then uploaded to Releases as the current release. I'm not really familiar with FlightGear's release mechanisms but they more than likely have a bunch of their own tests that have to pass before they include a particular JSBSim build into one of their releases. |
JSBSim updates are pushed manually to FlightGear by myself 😉 New features are introduced in the development version before the feature freeze. FlightGear has its own CI which builds the executables as soon as a change is pushed (just as we do) and this allows volunteers to test the bleeding edge software. Official releases happen once every quarter (2018.1, 2018.2, 2018.3, etc.) and bug fixes updates are released from time to time (2018.3.1, 2018.3.2, etc.). I took opportunity of these patch versions to release JSBSim bug fixes to FlightGear as well. Some details on the release plan are given on the FlightGear wiki. |
No it does not. As @seanmcleod mentioned, at the moment we are using Continuous Integration (CI) to have a rolling release but it is not incompatible with a stable release. CI can be tuned to automatically publish a stable release when, for example, a commit is tagged. However the problem is not really at a technical level since our CI is already capable (with a bit of tuning) to release a stable version. It is rather that we, collectively, need to make a decision about when the code is good enough for a stable release.
You rightfully opened the issue #153 about this and I suggest to continue the discussion there. |
A new release
|
Yep, although I guess the period since release and the number of commits shown has at least been reset for now 😉 |
I have made some investigations recently about this particular issue. I think this is due to GitHub requesting to tag a commit when creating a release then using this tag as a reference to how old the release is with respect to the cutting edge code. I am unsure if this issue can be properly worked around. At the moment, the options are:
|
🎉 JSBSim now has its first official release You can download binaries from the v1.1.0 release on GitHub or install the Python packages with > pip install jsbsim Enjoy ! If you encounter issues with the published binaries, please open a new issue. For the record, version |
This is welcome news! (But, somewhat overdue).
…On Sat, Oct 17, 2020 at 9:18 AM Bertrand Coconnier ***@***.***> wrote:
Closed #69 <#69>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#69 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIEDRCULXDIVLHTC24GPF3SLG7UVANCNFSM4FFUNT4Q>
.
|
@Phillip-M-Feldman Better late than never 😉 |
Just FYI with the recent updates I made to our GitHub workflow, deploying a new release is just a matter of tagging a commit: > git tag v1.x.y
> git push origin v1.x.y 🎉 Et voilà ! 🎉 Our GitHub workflow will then automatically process the following steps:
Lines 8 to 10 in 9a98d11
If the version already exists when pushing the tag, PyPI will complain and the workflow will fail miserably. My suggestion to avoid this annoying situation is to bump the version number just after the tag has been pushed. That way, the CMakeLists.txt is ready for the next release.
Good practice is also branching the code before a new major version is released. Use the branch name |
@bcoconni @agodemar If I'm a random JSBSim user and not familiar with our CI setup the info you see on the Releases section can be confusing/misleading.
In particular it currently states:
So to me this implies that the release is built using code that is 67 commits behind the head of the master branch. Plus the hash listed on the left
e5cc599
also doesn't refer to the latest commit to the head of the master branch.I downloaded
JSBSim.exe
to confirm my understanding that it should match the latest commit based on our CI setup of pushing the latest build to the Release.And sure enough due to the very useful addition of the commit hash as part of the version info I can see that this executable has been built using the latest commit from yesterday, i.e. it isn't 67 commits behind the master branch.
If we don't want the misleading info does this mean we need to publish a new Release for every commit? And can this be automated as part of the CI process, with some complication I'm guessing in terms of coordinating the two CI builds?
The text was updated successfully, but these errors were encountered: