diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a63d26a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,25 @@ +# Changelog +All notable changes to *crypto-sdcard* since v1.7.2 will be documented in this file. + +The format is based on [Keep a Changelog v1.1.0](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [1.7.2] - 2021-05-23 +### Added +- foo +### Changed +- bar +### Removed +- foobar + +## [Versions before 1.7.2] (2018 - 2021) +See [original thread at TJC](https://together.jolla.com/question/179054/how-to-creating-partitions-on-sd-card-optionally-encrypted/?answer=189813#post-id-189813), +the [course version history in the README](https://github.com/Olf0/crypto-sdcard#version-history) and +the [detailed version specific release notes](https://github.com/Olf0/crypto-sdcard/releases?after=0.4-0). + + +[Unreleased]: https://github.com/Olf0/crypto-sdcard/compare/v1.7.2...HEAD +[1.7.2]: https://github.com/Olf0/crypto-sdcard/compare/v1.7.1...v1.7.2 +[Versions before 1.7.2]: https://github.com/Olf0/crypto-sdcard/releases?after=1.7.2-1.sfos220qcrypto diff --git a/LICENSE b/LICENSE index ea5c273..1024d49 100644 --- a/LICENSE +++ b/LICENSE @@ -471,7 +471,7 @@ convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. crypto-sdcard - Copyright (C) 2018 - 2021+ olf + Copyright (C) 2018 to 2021+ olf This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/On-Polkit.md b/On-Polkit.md index 012222b..9a32f44 100644 --- a/On-Polkit.md +++ b/On-Polkit.md @@ -31,7 +31,7 @@ As with some other components, SailfishOS tends to lag behind recent Polkit releases, which is not neccesarily a bad thing.
SailfishOS 2.2.0 deployed Polkit 0.104, some later release (before SailfishOS 3.2.1) switched to Polkit 0.105 and SailfishOS 4.0.1 is still deploying Polkit 0.105.
- This looks like aforementioned approach i, although I have not checked which Polkit 0.105 variant the SailfishOS' version is based on or which backport patches it incorporates. + This looks like aforementioned approach 1, although I have not checked which Polkit 0.105 variant the SailfishOS' version is based on or which backport patches it incorporates. #### 1.2 Practically handling Polkit rules diff --git a/changelog-template.md b/changelog-template.md new file mode 100644 index 0000000..0c93a77 --- /dev/null +++ b/changelog-template.md @@ -0,0 +1,144 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog v1.1.0](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [1.0.0] - 2017-06-20 +### Added +- New visual identity by [@tylerfortune8](https://github.com/tylerfortune8). +- Version navigation. +- Links to latest released version in previous versions. +- "Why keep a changelog?" section. +- "Who needs a changelog?" section. +- "How do I make a changelog?" section. +- "Frequently Asked Questions" section. +- New "Guiding Principles" sub-section to "How do I make a changelog?". +- Simplified and Traditional Chinese translations from [@tianshuo](https://github.com/tianshuo). +- German translation from [@mpbzh](https://github.com/mpbzh) & [@Art4](https://github.com/Art4). +- Italian translation from [@azkidenz](https://github.com/azkidenz). +- Swedish translation from [@magol](https://github.com/magol). +- Turkish translation from [@karalamalar](https://github.com/karalamalar). +- French translation from [@zapashcanon](https://github.com/zapashcanon). +- Brazilian Portugese translation from [@Webysther](https://github.com/Webysther). +- Polish translation from [@amielucha](https://github.com/amielucha) & [@m-aciek](https://github.com/m-aciek). +- Russian translation from [@aishek](https://github.com/aishek). +- Czech translation from [@h4vry](https://github.com/h4vry). +- Slovak translation from [@jkostolansky](https://github.com/jkostolansky). +- Korean translation from [@pierceh89](https://github.com/pierceh89). +- Croatian translation from [@porx](https://github.com/porx). +- Persian translation from [@Hameds](https://github.com/Hameds). +- Ukrainian translation from [@osadchyi-s](https://github.com/osadchyi-s). +### Changed +- Start using "changelog" over "change log" since it's the common usage. +- Start versioning based on the current English version at 0.3.0 to help +translation authors keep things up-to-date. +- Rewrite "What makes unicorns cry?" section. +- Rewrite "Ignoring Deprecations" sub-section to clarify the ideal + scenario. +- Improve "Commit log diffs" sub-section to further argument against + them. +- Merge "Why can’t people just use a git log diff?" with "Commit log + diffs" +- Fix typos in Simplified Chinese and Traditional Chinese translations. +- Fix typos in Brazilian Portuguese translation. +- Fix typos in Turkish translation. +- Fix typos in Czech translation. +- Fix typos in Swedish translation. +- Improve phrasing in French translation. +- Fix phrasing and spelling in German translation. +### Removed +- Section about "changelog" vs "CHANGELOG". + +## [0.3.0] - 2015-12-03 +### Added +- RU translation from [@aishek](https://github.com/aishek). +- pt-BR translation from [@tallesl](https://github.com/tallesl). +- es-ES translation from [@ZeliosAriex](https://github.com/ZeliosAriex). + +## [0.2.0] - 2015-10-06 +### Changed +- Remove exclusionary mentions of "open source" since this project can +benefit both "open" and "closed" source projects equally. + +## [0.1.0] - 2015-10-06 +### Added +- Answer "Should you ever rewrite a change log?". +### Changed +- Improve argument against commit logs. +- Start following [SemVer](https://semver.org) properly. + +## [0.0.8] - 2015-02-17 +### Changed +- Update year to match in every README example. +- Reluctantly stop making fun of Brits only, since most of the world + writes dates in a strange way. +### Fixed +- Fix typos in recent README changes. +- Update outdated unreleased diff link. + +## [0.0.7] - 2015-02-16 +### Added +- Link, and make it obvious that date format is ISO 8601. +### Changed +- Clarified the section on "Is there a standard change log format?". +### Fixed +- Fix Markdown links to tag comparison URL with footnote-style links. + +## [0.0.6] - 2014-12-12 +### Added +- README section on "yanked" releases. + +## [0.0.5] - 2014-08-09 +### Added +- Markdown links to version tags on release headings. +- Unreleased section to gather unreleased changes and encourage note +keeping prior to releases. + +## [0.0.4] - 2014-08-09 +### Added +- Better explanation of the difference between the file ("CHANGELOG") +and its function "the change log". +### Changed +- Refer to a "change log" instead of a "CHANGELOG" throughout the site +to differentiate between the file and the purpose of the file — the +logging of changes. +### Removed +- Remove empty sections from CHANGELOG, they occupy too much space and +create too much noise in the file. People will have to assume that the +missing sections were intentionally left out because they contained no +notable changes. + +## [0.0.3] - 2014-08-09 +### Added +- "Why should I care?" section mentioning The Changelog podcast. + +## [0.0.2] - 2014-07-10 +### Added +- Explanation of the recommended reverse chronological release ordering. + +## [0.0.1] - 2014-05-31 +### Added +- This CHANGELOG file to hopefully serve as an evolving example of a + standardized open source project CHANGELOG. +- CNAME file to enable GitHub Pages custom domain +- README now contains answers to common questions about CHANGELOGs +- Good examples and basic guidelines, including proper date formatting. +- Counter-examples: "What makes unicorns cry?" + + +[Unreleased]: https://github.com/olivierlacan/keep-a-changelog/compare/v1.0.0...HEAD +[1.0.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.3.0...v1.0.0 +[0.3.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.2.0...v0.3.0 +[0.2.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.1.0...v0.2.0 +[0.1.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.8...v0.1.0 +[0.0.8]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.7...v0.0.8 +[0.0.7]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.6...v0.0.7 +[0.0.6]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.5...v0.0.6 +[0.0.5]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.4...v0.0.5 +[0.0.4]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.3...v0.0.4 +[0.0.3]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.2...v0.0.3 +[0.0.2]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.1...v0.0.2 +[0.0.1]: https://github.com/olivierlacan/keep-a-changelog/releases/tag/v0.0.1 diff --git a/rpm/crypto-sdcard.spec b/rpm/crypto-sdcard.spec index 3e703d8..a3c4b15 100644 --- a/rpm/crypto-sdcard.spec +++ b/rpm/crypto-sdcard.spec @@ -1,9 +1,9 @@ Name: crypto-sdcard Summary: Configuration files for unlocking and mounting encrypted SD-cards automatically -Version: 1.7.1 +Version: 1.7.2 # Since v1.3.1, the release version consists of two or three fields, separated by a dot ("."): # - The first field must contain a natural number greater than zero. -# This number may be prefixed by one of {alpha,beta,stable}, e.g. "alpha13". +# This number may be prefixed by one of {alpha,beta,rc,stable}, e.g. "alpha13". # - The second field indicates the minimal required SailfishOS version A.B.C.X in the format "sfosABC"; # the fourth field of a SailfishOS version ("X") is neither depended upon or denoted. # A single, additional word out of {regular,qcrypto} is directly appended, resulting in the whole diff --git a/systemd/system/cryptosd-luks@.service b/systemd/system/cryptosd-luks@.service index a09b189..9a07705 100644 --- a/systemd/system/cryptosd-luks@.service +++ b/systemd/system/cryptosd-luks@.service @@ -4,7 +4,8 @@ Documentation=https://github.com/Olf0/crypto-sdcard DefaultDependencies=no After=systemd-udevd.service systemd-udev-trigger.service dev-disk-by\x2duuid-%i.device systemd-journald.service local-fs.target cryptsetup-pre.target Requisite=dev-disk-by\x2duuid-%i.device -PartOf=mount-cryptosd-luks@%i.service cryptsetup.target +# PartOf=mount-cryptosd-luks@%i.service does work as intended, but fails on bootup. +PartOf=cryptsetup.target Conflicts=umount.target shutdown.target actdead.target factory-test.target Before=umount.target shutdown.target mount-cryptosd-luks@%i.service AssertPathIsDirectory=!/etc/crypto-sdcard/crypto_luks_%I.key diff --git a/systemd/system/cryptosd-plain@.service b/systemd/system/cryptosd-plain@.service index 3de3871..59076c3 100644 --- a/systemd/system/cryptosd-plain@.service +++ b/systemd/system/cryptosd-plain@.service @@ -4,7 +4,8 @@ Documentation=https://github.com/Olf0/crypto-sdcard DefaultDependencies=no After=systemd-udevd.service systemd-udev-trigger.service dev-%i.device systemd-journald.service local-fs.target cryptsetup-pre.target Requisite=dev-%i.device -PartOf=mount-cryptosd-plain@%i.service cryptsetup.target +# PartOf=mount-cryptosd-plain@%i.service does work as intended, but fails on bootup. +PartOf=cryptsetup.target Conflicts=umount.target shutdown.target actdead.target factory-test.target Before=umount.target shutdown.target mount-cryptosd-plain@%i.service AssertPathIsDirectory=!/etc/crypto-sdcard/crypto_plain_%I.key