Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package phraze for openSUSE:Factory checked in at 2024-07-15 19:49:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/phraze (Old) and /work/SRC/openSUSE:Factory/.phraze.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "phraze" Mon Jul 15 19:49:34 2024 rev:2 rq:1187471 version:0.3.12 Changes: -------- --- /work/SRC/openSUSE:Factory/phraze/phraze.changes 2024-07-08 19:09:05.204553649 +0200 +++ /work/SRC/openSUSE:Factory/.phraze.new.17339/phraze.changes 2024-07-15 19:50:12.841751753 +0200 @@ -1,0 +2,29 @@ +Mon Jul 08 06:17:23 UTC 2024 - felix.niederwan...@suse.de + +- Update to version 0.3.12: + * updates changelog in preparation for v0.3.12 release + * add nix section to readme + * add repology badge + * swaps 'herald' for 'vintage' on the medium Orchard Street list (sorry for all these commits that are just a few word swaps + * removes niche medical word 'hepatic' from long list + * adds a new badge to top of README showing number of downloads from crates.io, now that it's approaching 2,000 + * fix bash script for copying outputted passphraze to clipboard on Linux + * add note about doing work on the 'delevop' git branch between releases to the readme + * upgrades cargo-dist in preparation for next release + * add back in a few words of a restricted list + * remove confusing variants of the word 'acknowledge' + * add word 'radicals' back to orchard street lists. Also some spacing clean-ups in help text + +------------------------------------------------------------------- +Mon Jul 08 06:14:38 UTC 2024 - felix.niederwan...@suse.de + +- Update to version 0.3.11: + * add a line to CHANGELOG + * update changelog + * fixes some inconsistencies in help text + * update changelog in preparation for v0.3.11 release + * bump version + * remove abbreviation 'comm' from some included word lists + * adds a justfile to gitignore + +------------------------------------------------------------------- Old: ---- phraze-0.3.10.obscpio New: ---- phraze-0.3.12.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ phraze.spec ++++++ --- /var/tmp/diff_new_pack.QWUF3M/_old 2024-07-15 19:50:13.837788448 +0200 +++ /var/tmp/diff_new_pack.QWUF3M/_new 2024-07-15 19:50:13.841788595 +0200 @@ -17,7 +17,7 @@ Name: phraze -Version: 0.3.10 +Version: 0.3.12 Release: 0 Summary: Generate random passphrases License: MPL-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.QWUF3M/_old 2024-07-15 19:50:13.865789479 +0200 +++ /var/tmp/diff_new_pack.QWUF3M/_new 2024-07-15 19:50:13.869789627 +0200 @@ -2,7 +2,7 @@ <service mode="disabled" name="obs_scm"> <param name="url">https://github.com/sts10/phraze.git</param> <param name="scm">git</param> - <param name="revision">v0.3.10</param> + <param name="revision">v0.3.12</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">.*v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.QWUF3M/_old 2024-07-15 19:50:13.889790364 +0200 +++ /var/tmp/diff_new_pack.QWUF3M/_new 2024-07-15 19:50:13.889790364 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/sts10/phraze.git</param> - <param name="changesrevision">c88511d6f267076d8724c93d2067ac349957a0d0</param></service></servicedata> + <param name="changesrevision">cef597aa53a1f913ea70f32eb0e8ba74d1508541</param></service></servicedata> (No newline at EOF) ++++++ phraze-0.3.10.obscpio -> phraze-0.3.12.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/.github/workflows/release.yml new/phraze-0.3.12/.github/workflows/release.yml --- old/phraze-0.3.10/.github/workflows/release.yml 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/.github/workflows/release.yml 2024-07-05 20:28:23.000000000 +0200 @@ -12,9 +12,8 @@ # title/body based on your changelogs. name: Release - permissions: - contents: write + "contents": "write" # This task will run whenever you push a git tag that looks like a version # like "1.0.0", "v0.1.0-prerelease.1", "my-app/0.1.0", "releases/v1.0.0", etc. @@ -62,7 +61,7 @@ # we specify bash to get pipefail; it guards against the `curl` command # failing. otherwise `sh` won't catch that `curl` returned non-0 shell: bash - run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.17.0/cargo-dist-installer.sh | sh" + run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.18.0/cargo-dist-installer.sh | sh" - name: Cache cargo-dist uses: actions/upload-artifact@v4 with: @@ -116,10 +115,6 @@ - uses: actions/checkout@v4 with: submodules: recursive - - uses: swatinem/rust-cache@v2 - with: - key: ${{ join(matrix.targets, '-') }} - cache-provider: ${{ matrix.cache_provider }} - name: Install cargo-dist run: ${{ matrix.install_dist }} # Get the dist-manifest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/.gitignore new/phraze-0.3.12/.gitignore --- old/phraze-0.3.10/.gitignore 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/.gitignore 2024-07-05 20:28:23.000000000 +0200 @@ -1 +1,3 @@ /target +justfile +.justfile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/CHANGELOG.markdown new/phraze-0.3.12/CHANGELOG.markdown --- old/phraze-0.3.10/CHANGELOG.markdown 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/CHANGELOG.markdown 2024-07-05 20:28:23.000000000 +0200 @@ -1,3 +1,18 @@ +# v0.3.12 + +* Adds installation instructions for NixOS/nix (#25). Thanks for @x123! +* A few more word swaps in the Orchard Street word lists (9702125, 986d4d3, 9cfa359) +## Other, smaller README changes/fixes +* 0391f7d - adds a new badge to top of README showing number of downloads from crates.io, now that it's approaching 2,000 (woohoo!) +* 92574c6 - fix example Bash script n README for copying outputted passphrase to clipboard on Linux +* 8d14563 - add note about doing work on the 'develop' git branch between releases to the readme + +# v0.3.11 + +Nothing huge in this small update. +* Remove abbreviation "comm" from all included Orchard Street Wordlists. +* Fix some grammatical inconsistencies and a typo in help text. + # v0.3.10 * A few word swaps in various Orchard Street Wordlists, removing words like "sire" and "peter". See cbf70a0 and 5bc34d3. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/Cargo.lock new/phraze-0.3.12/Cargo.lock --- old/phraze-0.3.10/Cargo.lock 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/Cargo.lock 2024-07-05 20:28:23.000000000 +0200 @@ -399,7 +399,7 @@ [[package]] name = "phraze" -version = "0.3.10" +version = "0.3.12" dependencies = [ "clap", "criterion", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/Cargo.toml new/phraze-0.3.12/Cargo.toml --- old/phraze-0.3.10/Cargo.toml 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/Cargo.toml 2024-07-05 20:28:23.000000000 +0200 @@ -1,7 +1,7 @@ [package] name = "phraze" description = "Random passphrase generator" -version = "0.3.10" +version = "0.3.12" edition = "2021" authors = ["sts10 <sschlink...@gmail.com>"] license = "MPL-2.0" @@ -31,7 +31,7 @@ # Config for 'cargo dist' [workspace.metadata.dist] # The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) -cargo-dist-version = "0.17.0" +cargo-dist-version = "0.18.0" # CI backends to support ci = "github" # The installers to generate for each app diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/readme.markdown new/phraze-0.3.12/readme.markdown --- old/phraze-0.3.10/readme.markdown 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/readme.markdown 2024-07-05 20:28:23.000000000 +0200 @@ -1,7 +1,9 @@ # Phraze [](https://crates.io/crates/phraze) +[](https://crates.io/crates/phraze) [](https://deps.rs/repo/github/sts10/phraze) [](./LICENSE.txt) +[](https://repology.org/project/phraze/versions) Generate random passphrases. @@ -28,6 +30,35 @@ Uninstall Phraze by running `cargo uninstall phraze`. +### NixOS/nix + +[](https://repology.org/project/phraze/versions) + +Phraze is available within `nixpkgs`, and can be used: + +- System-wide on a NixOS system using `environment.systemPackages = +[pkgs.phraze]` +- Per-user using home-manager `home.packages = [pkgs.phraze]` +- One-off with `nix run` + + ```shell + # Run one-shot via nix + $ nix run nixpkgs#phraze -- -S -s _b -t + Commuter=Scripts_Motorway9Battle&Results,Trouble-Policy@Tools + ``` + +- Via a temporary nix shell without installing. + + ```shell + # Drop into a nix shell with phraze available + $ nix shell nixpkgs#phraze + $ which phraze + /nix/store/i1car5jf8w6vxglfi2gdrzsbzmi2vrrh-phraze-0.3.11/bin/phraze + $ phraze -S -s _b -t + Meditation)Skin0Invalid!Donations6Targeted(Housed8Tossed#Synagogue + $ exit + ``` + ### Latest release Alternatively, you can get binaries from [the GitHub releases page](https://github.com/sts10/phraze/releases). @@ -119,7 +150,7 @@ ### Copying passphrase to clipboard You can pipe Phraze's outputted passphrase to other tools. For example, you can copy generated passphrase to xclip (a common Linux clipboard tool): ```bash -$ phraze | xclip -selection clipboard +$ phraze | xclip -selection clipboard -rmlastnl ``` ## Usage @@ -147,7 +178,7 @@ [default: 1] -s, --sep <SEPARATOR> - Word separator. Can accept single quotes around the separator. For no + Word separator. Can accept single quotes around the separator. To not use a separator, use empty single quotes ''. There are special values that will trigger generated separators: @@ -177,21 +208,19 @@ s: EFF short list (1,296 words) q: Orchard Street QWERTY list (1,296 words). Optimized to minimize travel - distance on QWERTY keyboard layouts. + distance on QWERTY keyboard layout. a: Orchard Street Alpha list (1,296 words). Optimized to minimize travel - distance on an alphabetical keyboard layout + distance on alphabetical keyboard layout [default: m] -c, --custom-list <CUSTOM_LIST_FILE_PATH> Provide a text file with a list of words to randomly generate passphrase - from. - - Should be a text file with one word per line. + from. Should be a text file with one word per line. -t, --title-case - Use Title Case for words in generated usernames + Use Title Case for words in generated passphrases -v, --verbose Print estimated entropy of generated passphrase, in bits, along with the @@ -481,7 +510,9 @@ Admittedly, part of my motivation to create Phraze was to highlight my [Orchard Street Wordlists](https://github.com/sts10/orchard-street-wordlists), which I think are pretty good! ## For developers -I welcome both pull requests and issues. See included [LICENSE.txt](./LICENSE.txt) file. +I'm trying to do development work on the `development` git branch, then merge the work into the `main` branch when it feels like time for a new release. + +In general I welcome both pull requests and issues. See included [LICENSE.txt](./LICENSE.txt) file. This project doesn't have a formal Code of Conduct yet (it may in the future), but informally just try to be kind to each other. ### Testing and benchmarking Phraze Run `cargo test` to run Phraze's tests. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/src/main.rs new/phraze-0.3.12/src/main.rs --- old/phraze-0.3.10/src/main.rs 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/src/main.rs 2024-07-05 20:28:23.000000000 +0200 @@ -36,8 +36,8 @@ #[clap(short = 'n', long = "passphrases", default_value = "1")] n_passphrases: usize, - /// Word separator. Can accept single quotes around the separator. For no separator, use empty - /// single quotes ''. + /// Word separator. Can accept single quotes around the separator. To not use a separator, + /// use empty single quotes: ''. /// /// There are special values that will trigger generated separators: /// @@ -65,24 +65,24 @@ /// s: EFF short list (1,296 words) /// /// q: Orchard Street QWERTY list (1,296 words). Optimized to minimize travel - /// distance on QWERTY keyboard layouts. + /// distance on QWERTY keyboard layout. /// - /// a: Orchard Street Alpha list (1,296 words). Optimized to minimize travel distance on an - /// alphabetical keyboard layout + /// a: Orchard Street Alpha list (1,296 words). Optimized to minimize travel + /// distance on alphabetical keyboard layout. #[clap(short = 'l', long = "list", value_parser=parse_list_choice, default_value="m")] list_choice: ListChoice, - /// Provide a text file with a list of words to randomly generate passphrase from. - /// - /// Should be a text file with one word per line. + /// Provide a text file with a list of words to randomly generate passphrase + /// from. Should be a text file with one word per line. #[clap(short = 'c', long = "custom-list", conflicts_with = "list_choice")] custom_list_file_path: Option<PathBuf>, - /// Use Title Case for words in generated usernames + /// Use Title Case for words in generated passphrase #[clap(short = 't', long = "title-case")] title_case: bool, - /// Print estimated entropy of generated passphrase, in bits, along with the passphrase itself + /// Print estimated entropy of generated passphrase, in bits, along with + /// the passphrase itself #[clap(short = 'v', long = "verbose")] verbose: bool, } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/word-lists/orchard-street-alpha.txt new/phraze-0.3.12/word-lists/orchard-street-alpha.txt --- old/phraze-0.3.10/word-lists/orchard-street-alpha.txt 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/word-lists/orchard-street-alpha.txt 2024-07-05 20:28:23.000000000 +0200 @@ -218,7 +218,6 @@ comb come comic -comm common cone cook @@ -971,6 +970,7 @@ sail saint sake +sale same sand sang diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/word-lists/orchard-street-long.txt new/phraze-0.3.12/word-lists/orchard-street-long.txt --- old/phraze-0.3.10/word-lists/orchard-street-long.txt 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/word-lists/orchard-street-long.txt 2024-07-05 20:28:23.000000000 +0200 @@ -169,11 +169,8 @@ acids acknowledge acknowledged -acknowledgement acknowledges acknowledging -acknowledgment -acknowledgments acne acorn acoustic @@ -3052,7 +3049,6 @@ comforts comic comics -comm comma command commandant @@ -3940,6 +3936,7 @@ critic critical critically +criticism criticisms criticize criticized @@ -5756,6 +5753,7 @@ epidermal epidermis epilepsy +epilogue episcopal episode episodes @@ -7672,7 +7670,6 @@ henceforth henchmen hens -hepatic hepatitis herald heralded @@ -8195,7 +8192,6 @@ inaccurate inaction inactive -inactivity inadequacies inadequacy inadequate @@ -9082,6 +9078,7 @@ knit knitting knives +knob knock knocked knocking @@ -9113,6 +9110,7 @@ lacking lacks lacrosse +lactate lactation lactose lacy @@ -9717,6 +9715,7 @@ marketers marketing marketplace +marking markings markup marlins @@ -9910,6 +9909,7 @@ meningitis menopause menstrual +menstruation mentality mentally mention @@ -12560,7 +12560,6 @@ quantity quantum quarantine -quark quarrel quarrels quarries @@ -12631,6 +12630,7 @@ radical radicalism radically +radicals radio radioactive radioactivity @@ -13104,7 +13104,6 @@ remarkable remarkably remarked -remarking remarks remarried rematch @@ -17270,6 +17269,7 @@ weld welded welding +welfare wellington welsh welt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/word-lists/orchard-street-medium.txt new/phraze-0.3.12/word-lists/orchard-street-medium.txt --- old/phraze-0.3.10/word-lists/orchard-street-medium.txt 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/word-lists/orchard-street-medium.txt 2024-07-05 20:28:23.000000000 +0200 @@ -1759,6 +1759,7 @@ critic critical critically +criticism criticisms criticized critics @@ -3055,7 +3056,6 @@ flute flux flying -foam focal focus focused @@ -3541,7 +3541,6 @@ hemisphere hemorrhage hepatitis -herald herb herbs herd @@ -5820,6 +5819,7 @@ radiation radical radically +radicals radio radius raiders @@ -5948,7 +5948,6 @@ referenced references referendum -referral referring refers refined @@ -8038,6 +8037,7 @@ weights welcome welcomed +welfare wells welsh western diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phraze-0.3.10/word-lists/orchard-street-qwerty.txt new/phraze-0.3.12/word-lists/orchard-street-qwerty.txt --- old/phraze-0.3.10/word-lists/orchard-street-qwerty.txt 2024-07-01 07:04:35.000000000 +0200 +++ new/phraze-0.3.12/word-lists/orchard-street-qwerty.txt 2024-07-05 20:28:23.000000000 +0200 @@ -185,7 +185,6 @@ city clip coil -comm con cook cool @@ -1142,6 +1141,7 @@ tong too took +tools tooth tore tort ++++++ phraze.obsinfo ++++++ --- /var/tmp/diff_new_pack.QWUF3M/_old 2024-07-15 19:50:14.005794637 +0200 +++ /var/tmp/diff_new_pack.QWUF3M/_new 2024-07-15 19:50:14.009794785 +0200 @@ -1,5 +1,5 @@ name: phraze -version: 0.3.10 -mtime: 1719810275 -commit: c88511d6f267076d8724c93d2067ac349957a0d0 +version: 0.3.12 +mtime: 1720204103 +commit: cef597aa53a1f913ea70f32eb0e8ba74d1508541 ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/phraze/vendor.tar.xz /work/SRC/openSUSE:Factory/.phraze.new.17339/vendor.tar.xz differ: char 14109165, line 55203