- Aug 16, 2021
-
-
In order to follow the best practices when upgrading components, change branch name prefixes from wip to proposed-updates to trigger a license scan. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Aug 01, 2021
-
-
- Jul 26, 2021
-
-
Minor updates, adding some more context and links to other documents, fixing a few issues. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Jul 02, 2021
-
-
Walter Lozano authored
In order to make it clear the preferred approach to deal with different scenarios of licensing issues, add additional tips and examples. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
Arnaud Ferraris authored
When first importing a package, the `Run pipeline` button doesn't appear in Gitlab's UI and a workaround is needed to trigger the first pipeline. This commit adds a tip for such situations. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
- May 26, 2021
-
-
Martyn Welch authored
It seems that quite a few people have added links to the packaging guide, add in an alias to make sure we catch these when they've not been updated. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
Martyn Welch authored
There is a very kernel specific workflow in the component guide, move this to the kernel specific document where it makes more sense. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
Martyn Welch authored
The workflows in component guide target Apertis maintainers more than developers, it is also out-of-date in some places. Update this guide and make it more relevant to non-maintainers in the process. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- May 17, 2021
-
-
Martyn Welch authored
-
- May 14, 2021
-
-
The information about the workflows and repository structure is all jumbled up. Rename and sort the documentation into high-level information, workflows and repository layout. Shift more detailed documentation found in this document into more suitable locations, rewording/adapting as required. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- May 04, 2021
-
-
The Apertis packaging toolchain and pipelines have switched from the `coX` packaging version suffix to `apertisX` to better distinguish the work of the Apertis team from more Collabora-specific packages. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Apr 29, 2021
-
-
Arnaud Ferraris authored
This commit enables the generation and display of the ToC on all pages where it's relevant due to the content size. More pages could have been included but left aside due to inconsistent use of heading levels leading to rendering/visual glitches. The pages' content has not been modified, except for the "Terms of use" page which included a manually-generated ToC. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
- Apr 23, 2021
-
-
Ritesh Raj Sarraf authored
It has been dropped in the packaging-tools repository Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-
Ritesh Raj Sarraf authored
Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-
- Apr 22, 2021
-
-
Ritesh Raj Sarraf authored
One exception case, that of maintaining a package from an independent upstream source tarball, was documented separately. This was causing confusion to us all as this content wasn't reflected on the master page, i.e. Apertis Packaging Guide This patch just moves the content to the right location Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-
- Apr 08, 2021
-
-
Apertis now has open registration on it's GitLab instance. Update the documentation to reflect this. Correct some spelling mistakes and grammatical issues noticed when reading documents. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Feb 23, 2021
-
-
Emanuele Aina authored
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Since we moved to an external CI config path branches like `debian/buster-gitlab-update-job` are no longer needed. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
We no longer use the `debian/apertis/gitlab-ci.yml` files in each packaging repository but rather rely on a external CI config path. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- Nov 17, 2020
-
-
Martyn Welch authored
The "contribution process" as much details Apertis' policies with regards to contributions as laying out a process. Rename the page to simply "contributions" to make the scope of the document a bit clearer. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Nov 09, 2020
-
-
Walter Lozano authored
Add a paragraph to enforce the release early, release often philosophy to give better context about the number of MR to include in a release commit. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Oct 23, 2020
-
-
Based on the example previously presented update the gitlab-rulez example Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
Fix the commit message example showing the correct path for the file changed. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Oct 12, 2020
-
-
Ritesh Raj Sarraf authored
.gitattributes is used by many projects in their development workflows. THis can, many a times, interfere with the Apertis package development workflow. Thus document the fix for such cases. Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-
- Jul 29, 2020
-
-
After moving the documents from designs.a.o to www.a.o, there were quite a few links from the designs.a.o docs pointing to wiki.a.o and quite a few links from www.a.o pointing to designs.a.o. Replace these links with Hugo ref shortcodes to avoid hammering the redirects. This was achieved with the following script: ``` import os import re import sys import toml from urllib.parse import urlparse def get_aliases(filename): #print("%s: " % filename) with open(filename, 'r') as file: contents = file.read() if not contents[0:3] == "+++": return if "_index.md" in filename: filename = filename.strip(".") else: filename = filename.split("/")[-1] data = toml.loads(contents.split("+++")[1]) if not "aliases" in data.keys(): return for alias in data["aliases"]: if "/old-wiki/" in alias: wiki_aliases[alias.replace("/old-wiki/", "/")] = filename if "/old-designs/" in alias: # We're dropping the per-release links from designs.a.o, so match on shorter path design_aliases[alias.replace("/old-designs/latest/", "/")] = filename def fix_link(url): link = url.group('link') url = urlparse(link) if url.netloc == "wiki.apertis.org": if url.path in wiki_aliases.keys(): url = url._replace(scheme="") url = url._replace(netloc="") url = url._replace(path=wiki_aliases[url.path]) link = " {{< ref \"%s\" >}} " % url.geturl() if url.netloc == "designs.apertis.org": # We're dropping the per-release links from designs.a.o, so match on shorter path path = "/%s" % url.path.split('/', 2)[-1] print(path) if path in design_aliases.keys(): url = url._replace(scheme="") url = url._replace(netloc="") url = url._replace(path=design_aliases[path]) link = " {{< ref \"%s\" >}} " % url.geturl() return "](%s)" % link def fix_ref(url): link = url.group('link') url = urlparse(link) if url.netloc == "wiki.apertis.org": if url.path in wiki_aliases.keys(): url = url._replace(scheme="") url = url._replace(netloc="") url = url._replace(path=wiki_aliases[url.path]) link = " {{< ref \"%s\" >}} " % url.geturl() if url.netloc == "designs.apertis.org": # We're dropping the per-release links from designs.a.o, so match on shorter path path = "/%s" % url.path.split('/', 2)[-1] print(path) if path in design_aliases.keys(): url = url._replace(scheme="") url = url._replace(netloc="") url = url._replace(path=design_aliases[path]) link = " {{< ref \"%s\" >}} " % url.geturl() return "]: %s" % link def correct_links(filename): #print("%s: " % filename) with open(filename, 'r+') as file: contents = file.read() if not contents[0:3] == "+++": return fm = contents.split("+++")[1] doc = contents.split("+++",2)[2] # Hotdoc allows empty links like `[](url)` pattern = re.compile("\]\((?P<link>.*?)\)") doc = pattern.sub(fix_link, doc) pattern = re.compile("\]: (?P<link>.*)") doc = pattern.sub(fix_ref, doc) file.seek(0) file.truncate() file.write("+++") file.write(fm) file.write("+++") file.write(doc) wiki_aliases = {} design_aliases = {} for root, dirs, files in os.walk(sys.argv[1]): for file in files: if ".md" in file: get_aliases("%s/%s" %(root, file)) print("wiki_aliases:") print(wiki_aliases) print("design_aliases:") print(design_aliases) for root, dirs, files in os.walk(sys.argv[1]): for file in files: if ".md" in file: correct_links("%s/%s" %(root, file)) ``` Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Jul 27, 2020
-
-
Ritesh Raj Sarraf authored
This file is used throughout our Apertis packaging repositories by all packages. It specifies which repository component a package is part of Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-
- Jul 24, 2020
-
-
Ritesh Raj Sarraf authored
* Reorder each example under each chunk * Indent the examples so that they are rendered proper in hugo Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-
Ritesh Raj Sarraf authored
* Cleanup paragraph * Add date and weight field * Use reference shortcodes * Strip shell prompt Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-
- Jul 19, 2020
-
-
Ritesh Raj Sarraf authored
Moved from ci-package-builder Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-