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

Use Bintray #2

Open
paulvi opened this issue Jun 10, 2014 · 9 comments
Open

Use Bintray #2

paulvi opened this issue Jun 10, 2014 · 9 comments

Comments

@paulvi
Copy link

paulvi commented Jun 10, 2014

continued after http://www.nodeclipse.org/nodeclipse/binaries/bintray/2014/05/09/Nodeclipse-on-Bintray.html

@vogella
Copy link

vogella commented Nov 26, 2014

Did you find a solution for the automatic update to bintray?

@jeffmaury
Copy link
Member

I did not check since a while ago. Bintray supports P2 but each time you've got a new version of your p2 repo, then you should have a new version on Bintray which means a new URL. Maybe this is not true anymore

@paulvi
Copy link
Author

paulvi commented Nov 27, 2014

@noeclipse is using Bintray

yes, there is new folder for every new version,
but in the root there may be p2 aggregate repo, that combines all versions

any way tycho produces new p2 repo for every build

@vogella
Copy link

vogella commented Nov 28, 2014

We @vogellacompany are planning to use the Rest API to upload our p2 repository.

@paulvi
Copy link
Author

paulvi commented Nov 29, 2014

Should be OK..

I guess you will have automatic publishing (ref eclipse-color-theme/eclipse-color-theme#194).
There is 500MB limit on Bintray for total size.

I don't know if it i possible to remove old files...

@jeffmaury
Copy link
Member

Remove old files/versions is a bad practice in P2

@paulvi
Copy link
Author

paulvi commented Nov 30, 2014

Paying own money to continue give software for free
is bad practice for family finances.

Beside from stats it is seen that previous versions are not used, and there is always p2 archive on SourceForge

@vogella
Copy link

vogella commented Dec 3, 2014

I have written a little shell script which performs the upload of a p2 update site using the REST API and the curl command line tool, you find it here: https://github.com/vogellacompany/bintray-publish-p2-updatesite/

@paulvi
Copy link
Author

paulvi commented Dec 4, 2014

well, I have similar https://github.com/Nodeclipse/Bintray-Upload that is cross-platform solution

But both solution (as REST API) has drawback, if one file transmission fails, it maybe not visible
and break repository.

Instead of checking that all files are in place, I just upload zip with UI, that has auto explode option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants