Skip to content

Commit

Permalink
Release v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DasSkelett committed Feb 12, 2020
1 parent a52a268 commit 75f7f8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# This file contains all notable changes to the AVC-VersionFileValidator

## master (not included in any release yet)


## v1
### v1.2.1
* Convert to GitHub raw URIs before downloading remote files (#7 by: DasSkelett)
* Fix incorrect compatibility warning for `"KSP_VERSION": "any"` (#8: by DasSkelett)
* Download schema + build map only once during tests (#9 by: DasSkelett)


## v1
### v1.2.0
* Validate remote version file if specified with `URL` property.
* Make the validator importable as a package (#4 by: DasSkelett)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# KSP-AVC Version File Validator

![Unit Tests](https://github.com/DasSkelett/AVC-VersionFileValidator/workflows/Run%20unit%20tests/badge.svg) ![Full Integration Test](https://github.com/DasSkelett/AVC-VersionFileValidator/workflows/Test%20full%20integration/badge.svg)
![Unit Tests](https://github.com/DasSkelett/AVC-VersionFileValidator/workflows/Unit%20Tests/badge.svg) ![Full Integration Test](https://github.com/DasSkelett/AVC-VersionFileValidator/workflows/Full%20Integration%20Test/badge.svg)

This repository hosts a Docker-based GitHub Action written in Python3.8 that you can use in a workflow in your [KSP](https://www.kerbalspaceprogram.com/) mod repo.
It will validate all [KSP-AVC](https://github.com/linuxgurugamer/KSPAddonVersionChecker) version files in the repository against [the official KSP-AVC schema](https://github.com/linuxgurugamer/KSPAddonVersionChecker/blob/master/KSP-AVC.schema.json).
Expand Down Expand Up @@ -52,7 +52,7 @@ git clone https://github.com/DasSkelett/AVC-VersionFileValidator.git
cd AVC-VersionFileValidator
python3.8 -m venv venv
source venv/bin/activate
pip install --user -r requirements.txt
pip install -r requirements.txt
```
Now use the validator. It is important that your current working directory is the directory where the version files you want to test are located!
Also make sure you have the venv activated!
Expand All @@ -64,7 +64,7 @@ python ../AVC-VersionFileValidator/main.py
Furthermore, if you use an IDE that supports custom JSON schemas, I strongly recommend using this feature.
## Development
### Set up development environment
### Setup development environment
I recommend setting up a virtual environment, especially if you are using an IDE:
```sh
python3.8 -m venv venv
Expand Down

0 comments on commit 75f7f8f

Please sign in to comment.