From 2da10ed69d8e699c95de31a4f5ef08720cb7f04c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Sun, 28 Jan 2024 23:37:26 +0100 Subject: [PATCH 1/4] cliff.toml: initial support for git-cliff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- cliff.toml | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 cliff.toml diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 0000000..0c31e3a --- /dev/null +++ b/cliff.toml @@ -0,0 +1,91 @@ +# git-cliff ~ configuration file +# https://git-cliff.org/docs/configuration + +[changelog] +# changelog header +header = """ +# Changelog\n +All notable changes to this project will be documented in this file.\n +""" +# template for the changelog body +# https://keats.github.io/tera/docs/#introduction +body = """ +{% if version %}\ + ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} +{% else %}\ + ## [unreleased] +{% endif %}\ +{% if previous %}\ + {% if previous.commit_id %} + {{ previous.commit_id | truncate(length=7, end="") }}...\ + {{ commit_id | truncate(length=7, end="") }} + {% endif %}\ +{% endif %}\ +{% for group, commits in commits | group_by(attribute="group") %} + ### {{ group | upper_first }} + {% for commit in commits %} + - {{ commit.message | upper_first }} ({{ commit.id | truncate(length=7, end="") }})\ + {% endfor %} +{% endfor %}\n +""" +# template for the changelog footer +footer = """ + +""" +# remove the leading and trailing whitespace from the templates +trim = true + +[git] +# parse the commits based on https://www.conventionalcommits.org +conventional_commits = true +# filter out the commits that are not conventional +filter_unconventional = true +# process each line of a commit as an individual commit +split_commits = false +# regex for parsing and grouping commits, (?i) makes pattern case insensitive +commit_parsers = [ + { message = "^.github", group = "CI/CD" }, + { message = "^/", group = "CI/CD" }, + { message = "^(?i)README", group = "README" }, + { message = "^(?i)SEO", group = "SEO" }, + { message = "^(?i)About-us", group = "About Us" }, + { message = "^(?i)Careers", group = "Careers" }, + { message = "^(?i)Contact", group = "Contact" }, + { message = "^(?i)Content", group = "Content" }, + { message = "^(?i)Newest-video", group = "Video" }, + { message = "^(?i)Pre-commit", group = "Pre-commit" }, + { message = "^.lycheeignore", group = "Pre-commit" }, + { message = "^.markdown.yaml", group = "Pre-commit" }, + { message = "^.pre-commit-config.yaml", group = "Pre-commit" }, + { message = "^(?i)Event", group = "Events" }, + { message = "^(?i)Dasharo-terms-of-service.md", group = "Terms of Service" }, + { message = "^(?i)Return-refund-policy", group = "Terms of Service" }, + { message = "^(?i)Why-fight-for-freedom", group = "Why we fight for freedom" }, + { message = "^(?i)Themes", group = "Theme" }, + { message = "^(?i)Layouts", group = "Theme" }, + { message = "^3mdeb/layouts", group = "Theme" }, + { message = "^3mbed/layouts", group = "Theme" }, + { message = "^(?i)Partials", group = "Theme" }, + { message = "^(?i)Scripts", group = "Scripts" }, + { message = "^(?i)fix", group = "Bug Fixes" }, + { message = "^[Cc]onfig", group = "Website Configuration" }, + { message = "^(?i)Menus", group = "Website Configuration" }, + { message = "^(?i)Params", group = "Website Configuration" }, + { message = "^(?i)Sitemap", group = "Website Configuration" }, + { message = "^(?i)Static/.htaccess", group = "Website Configuration" }, + { message = "^(?i)Static/htaccess", group = "Website Configuration" }, +] +# protect breaking changes from being skipped due to matching a skipping commit_parser +protect_breaking_commits = false +# filter out the commits that are not matched by commit parsers +filter_commits = false +# regex for matching git tags +tag_pattern = "v[0-9].*" +# regex for skipping tags +skip_tags = "v0.1.0-beta.1" +# regex for ignoring tags +ignore_tags = "" +# sort the tags topologically +topo_order = false +# sort the commits inside sections by oldest/newest order +sort_commits = "oldest" From 5c8beb36f20e978f98ae3c18269cf20b1cdd646b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Sun, 28 Jan 2024 23:37:46 +0100 Subject: [PATCH 2/4] CHANGELOG.md: v0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- CHANGELOG.md | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..027cdbf --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,153 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [0.8.0] - 2024-01-28 + +### About Us + +- Add-info (3bee074) + +### CI/CD + +- Setup gh actions to include ftp deploy (b9fbd43) +- Add prod environment (c4808b3) +- Fix (05417b3) +- Fix relative path (375d74b) +- Add debug cmds (d0f595b) +- Remove debug cmds (1937140) + +### Careers + +- Page-update (0859656) +- Info-update (af07f43) +- Careers-update (393d499) +- Add-job (4613f2c) +- Translate-job-position (9c2c194) +- Fixed-job-title (40b5866) + +### Contact + +- Fixed-map (9637dc9) +- Change links to nextcloud and improve contact process (03a27f0) + +### Content + +- Update OSFV catalogue url (bf8612b) +- Adjust yocto training duration (e86759a) +- Revert repo links, add commented PL integration (36eb445) +- Fix 404 errors (5e69a26) +- Fix contact and image links regression (0752599) +- Remove muxpi shop references (e65d2e6) +- Redo dasharo tos changes (dbb6c27) +- Add placeholder before archive event page will appear (b99de6a) +- Add whitespace char for titles (8a239d0) +- Fix typo (1ddb0ca) +- Align coop_list with contact page (089d70f) + +### Events + +- Fix external broken links (b380ff9) +- Page-update (0d79081) +- Add-qubes2024 (24265d7) +- Link-fix (9905e8c) +- Link-fix-2 (5da4a1f) +- Fixes (49261cb) +- Add-dug4-info (5bf8c3d) +- Add-upcoming-events (6aa1ca3) +- Pre-commit (9f16844) +- Link-fix (6548079) +- Update (f60fbbe) +- Event-update (abaedcc) +- Dug4-update (fa0c560) + +### LICENSE + +- Update boilerplate notice (bc9649a) + +### Pre-commit + +- Add precommit hooks and fix issues (852d367) +- Exclude tables form wrap rule (bed3587) +- Fix issues (5c20381) +- Exclude linuxplumbersconf.org (5556c20) +- Autoupdate hooks (a185636) + +### README + +- Update with local preview and good practises (c2887c7) +- Update local-preview guide (1c6aaaf) +- Fix local-preview guide (25836ac) +- Update local preview methods (9a597a4) +- Wrap 80 chars (5544f63) +- Add development workflow guide (a8c396f) +- Update info about website urls (59b1fa9) +- Update documentation (58bdc90) + +### SEO + +- Check links with lychee and fix broken links (73053fd) +- Add oprhan pages and canonical links jobs (5ddb303) +- Wait server to avoid race condition (efe290d) +- Trigger on develop branch and extend timeout (8ea7320) +- Accept 5XX codes (15e7e1f) +- Fix broken links (7285448) + +### Scripts + +- Add local-preview.sh script (806c8ba) + +### Terms of Service + +- Add ToS (7d12d19) +- Description-fix (356fca0) +- Link-update (e3304df) + +### Theme + +- Add safeHTML for
tag (cc192f6) +- Add leads email (9badc67) +- Set _self for else nav targets (1adfa17) +- Add hubspot contact form (90b8d64) +- Fix font awesome 404 (6e0b8ab) + +### Video + +- Create landing page with embedded video and description (5445a11) +- Change page layout (1ba1b13) +- Add link to the profile (d6fb641) +- Add CTAs (79a94a7) +- Add language information (26a7079) +- Replace yt private video with thumbnail (18a0acc) +- Do not hardcode thumbnail in layout (da7ef5a) + +### Website Configuration + +- Change-shop-link (f27a47a) +- Change-account-link (4902745) +- Add htaccess file (c7655d6) +- Change meta description (c4446ff) +- Improve meta description (9a44daf) +- Redirect dl.3mdeb.com/open-source-firmware (d94d716) +- RewriteRule shop.3mdeb.com/shop (3f4b3f2) +- Change-address (361a97c) +- Update footer address (edc8cfc) +- Add google tag manager id (83cca57) +- Add ga4 to params (9b69cdc) +- Create sitemap template (b1ad688) +- Add new entry for dasharo-tos (907167c) + +### Why we fight for freedom + +- Change domain name (6c0d3a1) +- Add video (da58207) + +### Cliff.toml + +- Initial support for git-cliff (2da10ed) + +### Images + +- Optimize size of the images (fed7445) + + From fedbe1fd2391b86792708a22241a0f36fdd6f75c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Mon, 29 Jan 2024 00:00:24 +0100 Subject: [PATCH 3/4] CHANGELOG.md, cliff.toml: remove html markups from changelogs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- CHANGELOG.md | 7 +++++-- cliff.toml | 7 +++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 027cdbf..3da7163 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. - Add-info (3bee074) +### CHANGELOG.md + +- V0.8.0 (5c8beb3) + ### CI/CD - Setup gh actions to include ftp deploy (b9fbd43) @@ -105,7 +109,7 @@ All notable changes to this project will be documented in this file. ### Theme -- Add safeHTML for
tag (cc192f6) +- Add safeHTML for br tag (cc192f6) - Add leads email (9badc67) - Set _self for else nav targets (1adfa17) - Add hubspot contact form (90b8d64) @@ -150,4 +154,3 @@ All notable changes to this project will be documented in this file. - Optimize size of the images (fed7445) - diff --git a/cliff.toml b/cliff.toml index 0c31e3a..45506ae 100644 --- a/cliff.toml +++ b/cliff.toml @@ -28,14 +28,13 @@ body = """ {% endfor %} {% endfor %}\n """ -# template for the changelog footer -footer = """ - -""" # remove the leading and trailing whitespace from the templates trim = true [git] +commit_preprocessors = [ + { pattern = ']*>', replace = "$1"} +] # parse the commits based on https://www.conventionalcommits.org conventional_commits = true # filter out the commits that are not conventional From 7f990259a4856f953794602c9f3406f78fece7a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Mon, 29 Jan 2024 00:01:50 +0100 Subject: [PATCH 4/4] CHANGELOG.md: add empty line at end of file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3da7163..ea388a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -153,4 +153,3 @@ All notable changes to this project will be documented in this file. ### Images - Optimize size of the images (fed7445) -