Installation of new services
Because service integration is set of data files in a single directory it can be distributed as a tar.gz archive.
Blueprint information
- Status:
- Complete
- Approver:
- Jiří Janoušek
- Priority:
- Medium
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- future
- Started by
- Jiří Janoušek
- Completed by
- Jiří Janoušek
Related branches
Related bugs
Sprints
Whiteboard
== Content of the archive ==
* <service_id> - directory with integration files
* <service_
* <service_
* <service_
* README - information for the user
== List of services ==
Preferences -> tab Services:
Service name | Maintainer | Version
[x] Google Music | Jiří Janoušek | 1
[ ] Grooveshark | Jiří Janoušek | 2
* the checkbox is used to enable/disable service. All services are enabled by default, black list is used to store disabled services
* Service name uses metadata.name
* Label maintainer is a link to metadata.
* Version is a number metadata.version
== Add new service ==
Preferences -> tab Services will contain button "Install new service", that opens Open file dialog to select tar.gz archive. Installation process:
1) extract archive to temporary folder
2) check if required files are provides
3) copy the <service_id> folder to local data dir (~/.local/