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

Upgrading the Plugin via Eclipse Install Site #51

Open
dtg3 opened this issue Aug 9, 2019 · 5 comments
Open

Upgrading the Plugin via Eclipse Install Site #51

dtg3 opened this issue Aug 9, 2019 · 5 comments

Comments

@dtg3
Copy link
Member

dtg3 commented Aug 9, 2019

Thinking about future releases of the Eclipse Plugin, we will need to consider how to structure the URLs for the Eclipse Installer site(s) we post online.

I’m not sure how this is normally handled as unlike most plugins we actually have other tools that the plugins are reliant on that are provided externally to Eclipse. For example release 0.0.1 is not compatible with release 0.1.0 as they communicate differently with the core.

One option might be to provide update sites for specific releases. So a 0.1.0 installation site would encompass 0.1.0 and all bug fix point releases 0.1.1 and up. This ensures no breaking changes if they are using a version of the Core that is compatible.

One other option might be to provide the above sites as well as a “latest” site for people who always want the cutting edge and will upgrade all components.

Again, I’m not sure how this is done especially given our unique constraints. All suggestions are welcome.

@dtg3 dtg3 added question High Priority Release Blocking This issue is a blocking issue for another issue or a release labels Aug 9, 2019
@dtg3 dtg3 removed the Blocking This issue is a blocking issue for another issue or a release label Aug 9, 2019
@dtg3
Copy link
Member Author

dtg3 commented Aug 9, 2019

This issue may not be blocking the release, but should still be something we discuss.

@dtg3
Copy link
Member Author

dtg3 commented Aug 9, 2019

The IVY site hosts multiple versions which you can see from Eclipse by disabling the Show only the latest versions of available software on the Install New Software Window

They seem to have all the versions in one directory with some kind of cataloging XML files.
http://www.apache.org/dist/ant/ivyde/updatesite/

Googling the indexing files reveals some Eclipse documentation
https://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_composite_repositories.htm

@dtg3
Copy link
Member Author

dtg3 commented Aug 9, 2019

Manual recreation of the xml files Ivy used didn't seem to work, but none of our packages were generated using a non 0.1.0 version number (I did attempt to fudge the data to be a 0.1.1 release number). It looks like this might be able to be done manually, but also from Ant http://www.lorenzobettini.it/2015/01/creating-p2-composite-repositories-during-the-build/

We might be able to do this later if we don't want to hold the release up any longer, but this it something we should probably do.

@dtg3
Copy link
Member Author

dtg3 commented Aug 13, 2019

Per @shbonita:

@clptrsn Can you generate me a fake 0.1.1 release for Eclipse so that we can test setting up a composite update site?

What I mean by this is producing a new release site that is simply updated in all metadata locations to be versioned to 0.1.1.

Also can you take a look at issue #39 as well. The last installer site I have needs minor name change. That content would be a new 0.1.0 release.

@shbonita
Copy link
Contributor

shbonita commented Sep 4, 2019

related to #47 for info puposes

@shbonita shbonita assigned KangilPark and unassigned shbonita, dtg3, jmaletic and clptrsn Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants