This is a plugin repository (ie, XML manifest repository) for SageTV V9 Open Source Plugins.
Developers should clone this repository, then add a new plugin under the plugins
directory.
You can add more than one xml in your folder, but, the start and end of each xml file should be
<SageTVPlugin>...</SageTVPlugin>
ie, the plugin xml is exactly the same as your Plugin's Manifest.
When you commit your changes, create a PULL REQUEST
and your plugin manifest will be included (at some timed interval, usually once a day, or sooner)
Do not edit the SageTVPluginsV9.xml
file. This file is automatically re-generated based on the content in the plugins
directory.
Please note there is no code in this git repo. This repo is strictly for maintaining the SageTV V9 Plugin Repository XML manifest files. Your actual plugin should exist elsewhere in a git repository.
-
If you haven't forked the repository, then fork this repository. You will see a
fork
button near the top right below the github black banner. Click that. -
If you haven't cloned your forked repository, then clone it. Click on the green
clone or download
button and choose whether or not to close usinghttps
orssh
. Only usessh
if you've actually setup ssh keys on github. -
(This step is only required if you care about getting updates from the main repository). If you have fork, and you haven't updated it from the master repo, you'll want to do that first. You can use the Browser or follow these steps.
-
Add your plugin. In
plugins
folder, just create your plugin xml. -
Check in your changes
git add path/to/your/plugin.xml
git commit -m 'added/updated plugin XXX'
-
Push your changes to your repo
git push
-
Create a Pull Request from your Repo to the SageTV Plugin Repo.
- Open you Github Repo in a browser.
- Just above the file list, on the right, there are two buttons/links
Pull Request
andCompare
. ClickPull Request
- You should see a bright green button
Create pull request
. Click that button. (NOTE
above this button it shows the 2 repository and it should show the textAble to merge
in green. If it doesn't show that, it means your repo is not up to date, and you should do step3.2
first) - You should see a bright green button
Create pull request
. Click that button. (this second step will submit the pull request and from there, there is nothing you do, except wait for it to be accepted)
If all you are doing is adding/updating a new jar file library. You might be able to simpled edit/add a file in the src/libraries.in
folder. In this folder each library has a very simple xml that contains something like.
<!-- http://central.maven.org/maven2/com/google/code/gson/gson/2.7/gson-2.7.jar -->
<dependency org="com.google.code.gson" name="gson" rev="2.7"/>
This is basically a copy/paste of the ivy
dependency from maven central
. Normally I find the library, and then copy the IVY xml into a library xml file here.
Once you add/edit the library xml, you can run,
gradlew copyLibraries
This will covert these simple xml files into a SageTV plugin xml files and then copy them to the plugins/libraries/
folder.
From here you can publish this using the process above.