Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make deprecated - added deprecation info with link to new project #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 6 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
# RPM Validator
# project DEPRECATED

This is a simple test to verify that the files output in the build-system are
valid RPM format files. Currently, this performs only two simple tests:
## Replaced by internal part of MTF
https://pagure.io/modularity-testing-framework

1. Verify that the file can be parsed as an RPM
2. Verify that the RPM header lists only files in locations permitted by the
Filesystem Hierarchy Standard (version 3.0):
http://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html
* **Test:** https://pagure.io/modularity-testing-framework/blob/master/f/tools/modulelint/rpmvalidation.py

This package includes a sample RPM against which to test. It can be run with
```
avocado run rpmvalidation.py --mux-yaml ./samples/sampledata.yml
```

To run against real data, simply create a YAML file of the same format (e.g.):
```
rpms: !mux
fedora-release:
rpmpath: 'samples/fedora-release-25-1.noarch.rpm'
myfirstrpm:
rpmpath: '/home/myfirstrpm-0.1.fc25.x86_64.rpm'
```
## Old README.md
[README.md](README_OLD.md)
23 changes: 23 additions & 0 deletions README_OLD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# RPM Validator

This is a simple test to verify that the files output in the build-system are
valid RPM format files. Currently, this performs only two simple tests:

1. Verify that the file can be parsed as an RPM
2. Verify that the RPM header lists only files in locations permitted by the
Filesystem Hierarchy Standard (version 3.0):
http://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html

This package includes a sample RPM against which to test. It can be run with
```
avocado run rpmvalidation.py --mux-yaml ./samples/sampledata.yml
```

To run against real data, simply create a YAML file of the same format (e.g.):
```
rpms: !mux
fedora-release:
rpmpath: 'samples/fedora-release-25-1.noarch.rpm'
myfirstrpm:
rpmpath: '/home/myfirstrpm-0.1.fc25.x86_64.rpm'
```