-
Notifications
You must be signed in to change notification settings - Fork 56
Server Management and Version Releasing
OriRoth edited this page May 15, 2017
·
7 revisions
When downloading the Spartan Refactoring plugin from the Eclipse marketplace, the user is contacting a server at the Technion computer sciences faculty. This server require maintenance, and the developers should contact it upon version releasing. That happens automatically when committing to the Spartan Update Site project using a web-hook.
From readme in the Spartan Update Site project:
- Make sure all 3 projects (SpartanRefactoring and the two projects in this repository) are open in your Eclipse workspace. Edit the SpartanRefactoring source code as you wish
- If you wish to change the version number of the plugin, do so first in the SpartanRefactoring project (including both pom.xml files), then in the SpartanFeature project and lastly in the SpartanUpdateSite project. Make sure you change all the fields that hold the version number.
- Open the site.xml file (in Eclipse, of course) in the SpartanUpdateSite project and click "Build All". Then, open the SpartanUpdateSite's directory in your file explorer and make sure the last modification timestamp of the plugin's jar (inside the plugins directory) has changed.
- Commit the changes to this repository, including any auto-generated files. Add the word #push somewhere in the commit message (For example: Updated to version 1.1 #push). Commits without the #push keyword will not be deployed to the server.
- Do git push. Your changes will be reflected in the update site's webserver within 30 seconds.
Connect to user [email protected]
in the Eclipse marketplace online site, then edit Spartan Refactoring project as you will.
- Server:
ssdl-mit.cs.technion.ac.il
- Users: you should ask an admin to register you as a new user in the server in order to access it properly.
- Add a new user (for admins):
sudo adduser <user name>
. - Root user:
sudo user linux
. - Spartan Refactoring files:
cd /var/www/html/spartan
. - Secret key for server: in bitbucket project webhook.
Current admin: Ori Roth