From 3ab2101fff08ca8a4c748f8e5d6679cff008d0bc Mon Sep 17 00:00:00 2001 From: Iain Launchbury Date: Sun, 19 Jul 2020 20:43:58 +0100 Subject: [PATCH] Initial commit --- .gitattributes | 6 ++++ .github/workflows/ci.yml | 18 ++++++++++ .github/workflows/publish-catpkg.yml | 12 +++++++ .gitignore | 20 ++++++++++++ README.md | 49 ++++++++++++++++++++++++++++ 5 files changed, 105 insertions(+) create mode 100644 .gitattributes create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/publish-catpkg.yml create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..53a53d2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Set default behavior to automatically normalize line endings. +* text=auto + +# BattleScribe files always have LF +*.cat text eol=lf +*.gst text eol=lf diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c0e8e9d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +# This action continuously checks all pushes and Pull requests +# for validity, integrity and bugs in datafiles. +# For details, visit https://github.com/BSData/check-datafiles +name: CI +on: [ push, pull_request ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: BSData/check-datafiles@v1 + id: check + + - uses: actions/upload-artifact@v1 + with: + name: artifact + path: ${{ steps.check.outputs.staging-path }} diff --git a/.github/workflows/publish-catpkg.yml b/.github/workflows/publish-catpkg.yml new file mode 100644 index 0000000..07cb419 --- /dev/null +++ b/.github/workflows/publish-catpkg.yml @@ -0,0 +1,12 @@ +# This workflow adds the necessary assets to every release +# For more details, visit https://github.com/BSData/publish-catpkg +name: Publish catpkg +on: + release: + types: [ published, edited ] +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: BSData/publish-catpkg@v1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d50b6d4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +# Ignore everything +* + +# Don't ignore .git* files +!.gitignore +!.gitattributes + +# Don't ignore catalogues and game system +!*.cat +!*.gst + +# Don't ignore docs +!*.md + +# Don't ignore github files +!/.github +!/.github/** + +# Don't ignore .yml for CI build definitions +!*.yml diff --git a/README.md b/README.md new file mode 100644 index 0000000..700bd50 --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +Template Data Repo +================== + +[![GitHub release](https://img.shields.io/github/release/BSData/TemplateDataRepo.svg?style=flat-square)](https://github.com/BSData/TemplateDataRepo/releases/latest) +[![Github commits (since latest release)](https://img.shields.io/github/commits-since/BSData/TemplateDataRepo/latest.svg?style=flat-square)](https://github.com/BSData/TemplateDataRepo/releases) +[![Open Bug issues](https://img.shields.io/github/issues/BSData/TemplateDataRepo/bug.svg?style=flat-square&label=bugs)](https://github.com/BSData/TemplateDataRepo/issues?q=is%3Aissue+is%3Aopen+label%3Abug) +[![GitHub contributors](https://img.shields.io/github/contributors/BSData/TemplateDataRepo.svg?style=flat-square)](https://github.com/BSData/TemplateDataRepo/graphs/contributors) +[![GitHub commit activity the past year](https://img.shields.io/github/commit-activity/y/BSData/TemplateDataRepo.svg?style=flat-square)](https://github.com/BSData/TemplateDataRepo/pulse/monthly) + +[![Chat on Discord](https://img.shields.io/discord/558412685981777922.svg?logo=discord&style=popout-square)](https://discord.gg/KqPVhds) + +#### Contents #### + +* [Overview][] +* [Links][] + +## Overview ## +[Overview]: #overview + +__What's this?__ + +BSData organisation created this project. It's a GitHub repository of datafiles. +Maintained by community, in no way endorsed by BattleScribe or any other company/publisher. If you want +to develop - cool! We need you! Take a look at [Getting Started wiki][] + +__Okay, nice project. Is it actually working?__ _I just want those files..._ + +Yeah! We have it hosted on AppSpot. Take a look: [BattleScribe Data on Appspot][] + +__I found a bug!__ / *I have another request* + +Great, thank you! Now, you have some options: + +1. [Report it on AppSpot][] - it's anonymous and no account is needed - on downside, you'll need to manually check on the progress of your issue. + +2. [Open issue directly][] (green `New Issue` in upper-right, GitHub account required) - you can track the progress, get notifications, help us by answering possibly follow-up questions and help us better! + +## Links ## +[Links]: #links + +* [BattleScribe homepage][] +* [BattleScribe Data on Appspot][] +* [Getting Started wiki][] + +[Report it on Appspot]: http://battlescribedata.appspot.com/#/repo/TemplateDataRepo +[Open Issue directly]: https://github.com/BSData/TemplateDataRepo/issues +[BattleScribe homepage]: http://www.battlescribe.net/ +[BattleScribe Data on Appspot]: http://battlescribedata.appspot.com/#/repos +[Getting Started wiki]: https://github.com/BSData/catalogue-development/wiki/Getting-Started#contributing