Skip to content

Commit 335d359

Browse files
author
fuzzard
committed
add Omega branch
1 parent e55aae9 commit 335d359

7 files changed

+124
-162
lines changed

.github/workflows/addon-checker.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Kodi Addon-Checker
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
kodi-addon-checker:
7+
runs-on: ubuntu-latest
8+
name: Kodi Addon-Checker
9+
steps:
10+
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: '3.x'
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip3 install --user kodi-addon-checker
25+
- name: Extract job variables
26+
shell: bash
27+
run: echo "##[set-output name=addon;]$(git diff --diff-filter=d --name-only HEAD~ | grep / | cut -d / -f1 | sort | uniq)"
28+
id: extract_vars
29+
30+
- name: Addon-Check
31+
run: $HOME/.local/bin/kodi-addon-checker --branch=${{ github.event.pull_request.base.ref }} --PR ${{ steps.extract_vars.outputs.addon }}
+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Increment version of updated languages
2+
3+
on:
4+
push:
5+
branches: [ omega ]
6+
paths:
7+
- '**resource.language.**strings.po'
8+
- '**resource.language.**langinfo.xml'
9+
10+
jobs:
11+
default:
12+
runs-on: ubuntu-latest
13+
name: Increment version of updated languages
14+
15+
steps:
16+
17+
- name: Checkout Repository
18+
uses: actions/checkout@v2
19+
with:
20+
fetch-depth: 0
21+
path: ${{ github.event.repository.name }}
22+
23+
- name: Checkout Scripts
24+
uses: actions/checkout@v2
25+
with:
26+
fetch-depth: 0
27+
repository: xbmc/weblate-supplementary-scripts
28+
path: scripts
29+
30+
- name: Set up Python
31+
uses: actions/setup-python@v2
32+
with:
33+
python-version: '3.9'
34+
35+
- name: Get changed files
36+
uses: trilom/[email protected]
37+
38+
- name: Increment version of updated languages
39+
run: |
40+
python3 ../scripts/repo-resources/increment_version.py
41+
$HOME/files.json
42+
working-directory: ${{ github.event.repository.name }}
43+
44+
- name: Create PR for incremented versions
45+
uses: peter-evans/[email protected]
46+
with:
47+
commit-message: Language add-on versions incremented
48+
title: Language add-on versions incremented
49+
body: Language add-on versions incrementing triggered by ${{
50+
github.sha }}
51+
branch: inc-ver
52+
delete-branch: true
53+
path: ./${{ github.event.repository.name }}
54+

CONTRIBUTING.md

-95
This file was deleted.

ISSUE_TEMPLATE.md

-47
This file was deleted.

PULL_REQUEST_TEMPLATE.md

-18
This file was deleted.

README.md

+39-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,45 @@
44

55
## Contents
66

7-
This branch is not used for public. Please use one of the other branches available for submitting add-ons.
7+
This branch contains a certain category of add-ons from which our back-end script creates .zip files which are made available to each Kodi client.
8+
* Language add-ons
9+
* Image resources
10+
* Controller profiles
11+
12+
## How to submit your add-on and subsequent updates ##
13+
14+
Your add-on must follow our strict repository rules to be considered for inclusion. Please consult the [Add-on rules] (http://kodi.wiki/view/Add-on_Rules) wiki page for further details. Please review these rules carefully before submitting your add-on. Should you have any questions regarding them please start a forum thread in one of the following locations
15+
* [Python add-ons] (http://forum.kodi.tv/forumdisplay.php?fid=26)
16+
* [Skins] (http://forum.kodi.tv/forumdisplay.php?fid=12)
17+
18+
After you have read the repository guidelines and made sure your addon is compliant with them, you may begin the submission process. By forking this repository and creating a pull-request to the correct repository branch you are asking permission to include your add-on into the official Kodi repository. Subsequent updates can be done in a similar way by updating the code and creating a new pull-request again. Make sure that your local git clone is always rebased before sending a pull-request.
19+
20+
* Fork this repository
21+
* Create a branch
22+
* Commit your new add-on or any subsequent update in a single commit
23+
* Push the branch to your own forked repository
24+
* Create pull request
25+
* Await commments if any changes are deemed necessary
26+
27+
A short guide on forking and creating a pull request can be found here: [contributing] (https://github.com/xbmc/repo-resources/blob/master/CONTRIBUTING.md).
28+
29+
Keep in mind that add-ons in the official repository should be considered stable. This means that they should be well-tested before you submit them for inclusion. Because they are for stable users, they should avoid being updated too often. Too often is of course subjective. If your add-on is in rapid development, and features are constantly being added, hold off until you have hit a good stopping point and tested the current version.
30+
This means that you should not submit a request every time you change your code. If you are submitting updates more than once per week something is wrong. Once or twice per month is probably a better goal, barring unforeseen conditions (like a content source changing its paths). With good reasons provided we will of course make exceptions as we strive to provide the best user experience.
31+
32+
## Compatibility
33+
34+
This branch is used for add-ons that are designed for Kodi v21 Omega builds and higher only. From these code repositories and branches our back-end uploads .zip files of the compatible add-ons to our main mirror server.
35+
* [Mirror of Kodi v21 Omega compatible add-ons] (http://mirrors.kodi.tv/addons/omega/)
36+
37+
## Status
38+
39+
* New add-on additions: **Accepted**
40+
* Updating already present add-ons: **Accepted**
41+
42+
## Disclaimer ##
43+
44+
The contents of this repository mainly consist of add-ons created by third party developers. Team Kodi holds no responsibility for it's contents.
45+
Team Kodi reserves the right to update or remove add-ons at any time as we deem necessary.
846

947
## Quick Kodi development links
1048

readme.txt

-1
This file was deleted.

0 commit comments

Comments
 (0)