snapcrafters / codespell

Snap for codespell
GNU General Public License v2.0
0 stars 0 forks source link

Call for testing `codespell` #17

Closed github-actions[bot] closed 3 months ago

github-actions[bot] commented 3 months ago

A new version (2.3.0) of codespell was just pushed to the latest/candidate channel in the snap store. The following revisions are available.

CPU ArchitectureRevision
amd6447
arm6444
armhf45
ppc64el43
riscv6448
s390x46

Automated testing

If configured, the snap will be installed in a VM, and any test results or screenshots will be posted to this issue as a comment shortly.

How to test it manually

  1. Stop the application if it was already running

  2. Upgrade to this version by running

    snap refresh {{ env.snap_name }} --channel {{ env.channel }}
  3. Start the app and test it out.

  4. Finally, add a comment below explaining whether this app is working, and include the output of the following command.

    snap version; lscpu | grep Architecture; snap info {{ env.snap_name }} | grep installed

How to release it

Maintainers can promote this to stable by commenting /promote <rev>[,<rev>] latest/stable [done].

For example

  • To promote a single revision, run /promote <rev> latest/stable
  • To promote multiple revisions, run /promote <rev>,<rev> latest/stable
  • To promote a revision and close the issue, run /promote <rev>,<rev> latest/stable done

You can promote all revisions that were just built with:

/promote 47,44,45,43,48,46 latest/stable done
github-actions[bot] commented 3 months ago

Automated testing success.

Full logs are available at https://github.com/snapcrafters/codespell/actions/runs/9222332673. The first 100, and last 100 lines of the log are displayed in the Summary below.

Logs ``` 2.2.6 ::endgroup:: ::group::Help usage: codespell [-h] [--version] [-d] [-c] [-w] [-D DICTIONARY] [--builtin BUILTIN-LIST] [--ignore-regex IGNORE_REGEX] [-I FILE] [-L WORDS] [--uri-ignore-words-list WORDS] [-r REGEX] [--uri-regex URI_REGEX] [-s] [--count] [-S SKIP] [-x FILE] [-i INTERACTIVE] [-q QUIET_LEVEL] [-e] [-f] [-H] [-A LINES] [-B LINES] [-C LINES] [--config CONFIG] [--toml TOML] [files ...] positional arguments: files files or directories to check options: -h, --help show this help message and exit --version show program's version number and exit -d, --disable-colors disable colors, even when printing to terminal (always set for Windows) -c, --enable-colors enable colors, even when not printing to terminal -w, --write-changes write changes in place if possible -D DICTIONARY, --dictionary DICTIONARY custom dictionary file that contains spelling corrections. If this flag is not specified or equals "-" then the default dictionary is used. This option can be specified multiple times. --builtin BUILTIN-LIST comma-separated list of builtin dictionaries to include (when "-D -" or no "-D" is passed). Current options are: - 'clear' for unambiguous errors - 'rare' for rare (but valid) words that are likely to be errors - 'informal' for making informal words more formal - 'usage' for replacing phrasing with recommended terms - 'code' for words from code and/or mathematics that are likely to be typos in other contexts (such as uint) - 'names' for valid proper names that might be typos - 'en-GB_to_en-US' for corrections from en-GB to en-US The default is 'clear,rare'. --ignore-regex IGNORE_REGEX regular expression that is used to find patterns to ignore by treating as whitespace. When writing regular expressions, consider ensuring there are boundary non- word chars, e.g., "\bmatch\b". Defaults to empty/disabled. -I FILE, --ignore-words FILE file that contains words that will be ignored by codespell. File must contain 1 word per line. Words are case sensitive based on how they are written in the dictionary file -L WORDS, --ignore-words-list WORDS comma separated list of words to be ignored by codespell. Words are case sensitive based on how they are written in the dictionary file --uri-ignore-words-list WORDS comma separated list of words to be ignored by codespell in URIs and emails only. Words are case sensitive based on how they are written in the dictionary file. If set to "*", all misspelling in URIs and emails will be ignored. -r REGEX, --regex REGEX regular expression that is used to find words. By default any alphanumeric character, the underscore, the hyphen, and the apostrophe are used to build words. This option cannot be specified together with --write-changes. --uri-regex URI_REGEX regular expression that is used to find URIs and emails. A default expression is provided. -s, --summary print summary of fixes --count print the number of errors as the last line of stderr -S SKIP, --skip SKIP comma-separated list of files to skip. It accepts globs as well. E.g.: if you want codespell to skip .eps and .txt files, you'd give "*.eps,*.txt" to this option. -x FILE, --exclude-file FILE ignore whole lines that match those in the file FILE. The lines in FILE should match the to-be-excluded lines exactly -i INTERACTIVE, --interactive INTERACTIVE set interactive mode when writing changes: - 0: no interactivity. - 1: ask for confirmation. - 2: ask user to choose one fix when more than one is available. - 3: both 1 and 2 -q QUIET_LEVEL, --quiet-level QUIET_LEVEL bitmask that allows suppressing messages: - 0: print all messages. - 1: disable warnings about wrong encoding. - 2: disable warnings about binary files. - 4: omit warnings about automatic fixes that were disabled in the dictionary. - 8: don't print anything for non-automatic fixes. - 16: don't print the list of fixed files. - 32: don't print configuration files. (Logs truncated. See full logs at: https://github.com/snapcrafters/codespell/actions/runs/9222332673) ::endgroup:: Success ::group::Repository: https://github.com/WebwareForPython/DBUtils Cloning into 'codespell-snap-test-XM3FwduL'... WARNING: Binary file: ./docs/pooled.png WARNING: Binary file: ./docs/dependencies_db.png WARNING: Binary file: ./docs/dependencies_pg.png WARNING: Binary file: ./docs/persistent.png ::endgroup:: Success ::group::Repository: https://github.com/canonical/charmcraft Cloning into 'codespell-snap-test-apZ0SRUh'... WARNING: Binary file: ./windows/charmcraft.ico ::endgroup:: Success ::group::Repository: https://github.com/canonical/craft-grammar Cloning into 'codespell-snap-test-nDnpW806'... ::endgroup:: Success ::group::Repository: https://github.com/canonical/rockcraft Cloning into 'codespell-snap-test-Y8NW7jN9'... WARNING: Binary file: ./docs/_static/container-image-vulnerabilities.png WARNING: Binary file: ./docs/_static/rock_diagram.png WARNING: Binary file: ./docs/_static/dive-efficiency.png WARNING: Binary file: ./docs/_static/canonical-images-vulnerabilities.png Used config files: 1: setup.cfg ::endgroup:: Success ::group::Repository: https://github.com/dandi/dandi-archive Cloning into 'codespell-snap-test-GCKDyu2y'... WARNING: Binary file: ./web/public/favicon.ico WARNING: Binary file: ./dandiapi/api/fixtures/playwright.json.xz Used config files: 1: .codespellrc ::endgroup:: Success ::group::Repository: https://github.com/davidjrice/autopytest Cloning into 'codespell-snap-test-kmMOXgs8'... ::endgroup:: Success ::group::Repository: https://github.com/dxclabs/django-diagnostic Cloning into 'codespell-snap-test-AcEIZpP2'... Used config files: 1: setup.cfg ::endgroup:: Success ::group::Repository: https://github.com/igo95862/bubblejail Cloning into 'codespell-snap-test-dMldLXL6'... WARNING: Binary file: ./data/bubblejail-config.png ::endgroup:: Success ::group::Repository: https://github.com/jorenham/Lmo Cloning into 'codespell-snap-test-afSZr1Uh'... ::endgroup:: Success ::group::Repository: https://github.com/jorenham/exports Cloning into 'codespell-snap-test-Xp7MqWY0'... ::endgroup:: Success ::group::Repository: https://github.com/jupyter-server/jupyter_server Cloning into 'codespell-snap-test-Sl8pzqY2'... WARNING: Binary file: ./jupyter_server/static/favicon.ico WARNING: Binary file: ./jupyter_server/static/favicons/favicon-busy-3.ico WARNING: Binary file: ./jupyter_server/static/favicons/favicon-busy-2.ico WARNING: Binary file: ./jupyter_server/static/favicons/favicon.ico WARNING: Binary file: ./jupyter_server/static/favicons/favicon-file.ico WARNING: Binary file: ./jupyter_server/static/favicons/favicon-notebook.ico WARNING: Binary file: ./jupyter_server/static/favicons/favicon-busy-1.ico WARNING: Binary file: ./jupyter_server/static/favicons/favicon-terminal.ico WARNING: Binary file: ./jupyter_server/static/logo/logo.png WARNING: Binary file: ./docs/source/images/session-create.drawio.png WARNING: Binary file: ./docs/source/images/session-delete.drawio.png WARNING: Binary file: ./docs/source/images/jupyter-server-architecture.drawio.png WARNING: Binary file: ./examples/simple/simple_ext1/static/favicon.ico WARNING: Binary file: ./examples/simple/simple_ext2/static/favicon.ico ::endgroup:: Success ::group::Repository: https://github.com/nextlayer-ansible/molecule-lxd Cloning into 'codespell-snap-test-ot4cc0vn'... ::endgroup:: Success ::group::Repository: https://github.com/nodejs/tap2junit Cloning into 'codespell-snap-test-FP58V30b'... ::endgroup:: Success ::group::Repository: https://github.com/pimoroni/bme280-python Cloning into 'codespell-snap-test-V6p4stGF'... ::endgroup:: Success ::group::Repository: https://github.com/snapcore/snapcraft Cloning into 'codespell-snap-test-yz9bME2F'... Used config files: 1: setup.cfg ::endgroup:: Success ::group::Repository: https://github.com/wolph/python-progressbar Cloning into 'codespell-snap-test-eixUMrS0'... ::endgroup:: Success ```
lengau commented 3 months ago

Nope, I messed up the source tag