Commit Graph

49 Commits

Author SHA1 Message Date
Martin Liska 85a829eab9 Update docs about rpmlintrc auto-loading.
Fixes: #857
2022-05-09 10:05:31 +02:00
Martin Liska 48acd858c1 Revert "Fix badge url."
This reverts commit 627dd87ac6.
2022-03-22 10:51:25 +01:00
Martin Liska 627dd87ac6 Fix badge url. 2022-03-22 10:49:43 +01:00
Martin Liska 65d344b009 Add only small badge for repology. 2022-03-07 20:43:08 +01:00
Martin Liska 59f362b9c4 Add packaging status. 2022-03-07 20:40:32 +01:00
Martin Liska 18769615eb Update package dependency name. 2022-02-22 16:13:18 +01:00
marxin cc4678201f Require at least Python 3.8.
Right now, we would like to use some xml.etree functionality that
is there since 3.8.

Thus I'm suggesting using Python 3.8 that's out for quite some time.
2022-02-11 08:49:38 -05:00
Martin Liska b12cfa8b65 Fix README formatting. 2021-08-10 14:06:50 +02:00
Martin Liska 4db9c01a63 Implement blocking of filters.
The feature is handy for hardening checks that should not be filterable
by a rpmlintrc file.

Fixes #660.
2021-06-11 14:04:55 +02:00
Martin Liska 2402248b1a Add badge for opensuse. 2021-05-27 09:44:27 +02:00
Martin Liska 612bd2f243 Rename master to main in Coveralls.io badge. 2021-05-17 10:22:40 +02:00
Neal Gompa ab51e8eac1 Remove obsolete section about container-based testing in README 2021-05-16 10:27:12 -04:00
Steve Kowalik 8e99c05d00 List more optional requirements
Currently, the README does not list enough requirements to have a
passing test suite. To prevent confusion, document them.
2021-05-10 18:49:05 +10:00
Miroslav Suchý 4a5d7f18de
Merge branch 'master' into patch-2 2021-03-23 15:04:07 +01:00
marxin c12f315995
Merge pull request #618 from xsuchy/patch-3
Link default config
2021-03-23 11:08:28 +01:00
Martin Liska 49c97e50ee Document rpmlintrc keywords.
Fixes #617.
2021-03-23 11:06:54 +01:00
marxin 39016d4c06
Merge pull request #615 from xsuchy/pybeam
pybeam is mandatory module
2021-03-23 10:59:45 +01:00
Miroslav Suchý 06e88c6a6d
Link default config 2021-03-22 22:24:07 +01:00
Miroslav Suchý a8660e9812
describe the location of rpmlintrc 2021-03-22 22:09:19 +01:00
Miroslav Suchý 84d8ffd972 pybeam is mandatory module
addressing:
Traceback (most recent call last):
  File "/home/msuchy/projects/rpmlint/lint.py", line 5, in <module>
    lint()
  File "/home/msuchy/projects/rpmlint/rpmlint/cli.py", line 173, in lint
    lint = Lint(options)
  File "/home/msuchy/projects/rpmlint/rpmlint/lint.py", line 53, in __init__
    self.load_checks()
  File "/home/msuchy/projects/rpmlint/rpmlint/lint.py", line 291, in load_checks
    self.checks[check] = self.load_check(check)
  File "/home/msuchy/projects/rpmlint/rpmlint/lint.py", line 295, in load_check
    module = importlib.import_module(f'.{name}', package='rpmlint.checks')
  File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/msuchy/projects/rpmlint/rpmlint/checks/ErlangCheck.py", line 3, in <module>
    from pybeam import BeamFile
ModuleNotFoundError: No module named 'pybeam'
2021-03-22 22:06:34 +01:00
Miroslav Suchý a8ab5d6c52
Suggest regular users to use package from distribution 2021-03-22 21:27:46 +01:00
Martin Liska fe334381b8 Add badge for GitHub actions. 2021-01-12 17:00:51 +00:00
Martin Liska c13b1717f2 Accept *toml in XDG locations.
Improve documentation about configuration in README.md.
2020-10-29 09:50:47 +01:00
Martin Liska 651cc53452 Remove useless 'manual-page-warning' warning. 2020-10-21 11:35:08 +02:00
Martin Liska b369e7e9fc rpmlint does not depend on elfutils, but binutils. 2020-10-05 11:34:28 +02:00
Martin Liska 6de0b04937 Add zstd to Install section of README.md. 2020-09-28 09:24:28 -04:00
Tomáš Chvátal 8bd1af60b9 Fix typos 2020-03-25 14:26:48 +01:00
Tomáš Chvátal 3681444906 Mention pytest-xdist needed for testing 2020-03-25 09:12:13 -04:00
Tomáš Chvátal 536339bc5a Do not mention setup.py test in README.md and describe how to create artifical test binaries 2020-02-12 11:29:51 +01:00
Tomáš Chvátal 23150cd28b Do not mention docker but be generic since we use podman 2020-02-10 13:02:44 +01:00
Tomáš Chvátal 614995a9e1 Use podman instead of docker
The podman is the solution on RHEL/SLE and present on Fedora/openSUSE
in a root-less mode.

This adds podman (projectatomic) ppa to be setup before install and
fetches the podman from there (as it is not natively on Ubuntu yet).
2019-10-16 10:55:56 -04:00
Tomáš Chvátal 851ff75dca
Mention the python3-setuptools by name
To match up toml and pyxdg names.
2019-08-15 13:42:19 +02:00
Kristýna Streitová 7d243ba485 Enhance README
- add python3-toml and python3-pyxdg as install requirements
- typo and structure
2019-08-15 13:17:48 +02:00
Tomáš Chvátal 5aa6205bf1
The config is in /etc/xdg not /etc 2019-08-02 15:15:59 +02:00
Tomáš Chvátal f5cc3e1e87 Remove one more ini configuration reference
We are having toml based configuration.
2019-07-29 12:08:55 +02:00
Tomáš Chvátal d316ee49e7
Describe how to contribute testcase 2019-07-26 15:21:33 +02:00
Tomáš Chvátal d7f7a6c969
Correct checks location on the FS 2019-07-26 15:21:33 +02:00
Tomáš Chvátal 8b70b48cfe
Mention alternative approach for test exec 2019-07-26 14:40:34 +02:00
Tomáš Chvátal 096dc26ad5
Mention toml not ini file 2019-07-26 14:31:48 +02:00
Tomáš Chvátal c7027ad9be
Rewrite configuration to TOML syntax. Issue #182
Now all the configs are loaded and based on toml specs the latest
config tages priority in overshadowing -> if section is specified
in the configuration it overrides section in any earlier config.

The order of configuration loading is:
 defaults
 /etc/xdg/
 $HOME/.config/
 user-specified-file
2019-07-26 12:45:29 +02:00
Tomáš Chvátal 1cfdffcbd8
Move install info to README from separate file 2019-07-15 13:55:56 +02:00
Tomáš Chvátal 963955d1a6
Show up the coverage badge on the README.md 2019-07-15 12:25:38 +02:00
Tomáš Chvátal d03368af50
Add testing section to readme and reword bit the description. 2019-07-12 22:08:50 +02:00
Tomáš Chvátal a7842fd82b
Add LGTM badges and coverage. 2019-07-11 16:10:36 +02:00
Tomáš Chvátal 63f3143d62
Mention the new syntax in readme do not promote something that is not true 2018-08-08 17:49:02 +02:00
Tomáš Chvátal 8aa563e827
Update README.md
Basically just whitespace and remove the huge set describing the tests.
Each test has better description inlined and if we add/remove them it
is just duplicate location where we could forget to update stuff.
2018-07-13 12:52:24 +02:00
Tomáš Chvátal 75b6e42276
Make sure the config properly loads up the rpmlint namespace 2018-07-12 15:11:37 +02:00
Ville Skyttä 193f8fb510 Don't limit build badge to master branch 2015-10-03 13:08:01 +03:00
Ville Skyttä 2b742bfab1 Convert README to markdown 2015-10-03 12:50:39 +03:00