diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 13eea6a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: node_js -dist: focal -node_js: 16 -env: - - XML_SCHEMA=plugins.xsd -before_install: - # install libxml2-utils which contains xmllint that we will use to validate XML against schema) - - travis_retry sudo apt-get install libxml2-utils - - npm install -g pkp-plugin-cli - -script: - - xmllint --schema plugins.xsd ./plugins.xml --noout - - if [[ $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_BRANCH == 'main' ]]; then pkp-plugin validate-all-releases --input $TRAVIS_BUILD_DIR/plugins.xml; fi - - if [ $TRAVIS_PULL_REQUEST != 'false' ]; then pkp-plugin validate-new-release; fi - - if [[ $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_BRANCH == 'main' ]]; then GITHUB_TOKEN=$GITHUB_TOKEN pkp-plugin generate-site $TRAVIS_BUILD_DIR/plugins.xml; fi - diff --git a/README.md b/README.md index 39b56c8..db20a76 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,19 @@ -[![Build Status](https://app.travis-ci.com/pkp/plugin-gallery.svg?branch=main)](https://travis-ci.org/pkp/plugin-gallery) +[![Build Status](https://github.com/pkp/plugin-gallery/actions/workflows/main.yml/badge.svg)](https://github.com/pkp/plugin-gallery/actions/workflows/main.yml) # Plugin Gallery -This repository contains PKP's Plugin Gallery XML file. The live version of the file is published on: [http://pkp.sfu.ca/ojs/xml/plugins.xml](http://pkp.sfu.ca/ojs/xml/plugins.xml). This is what presents a list of compatible plugins in OJS, OMP, and OPS for possible installation. +This repository contains PKP's Plugin Gallery XML file. The live version of the file is published on: [http://pkp.sfu.ca/ojs/xml/plugins.xml](http://pkp.sfu.ca/ojs/xml/plugins.xml). This is a list of compatible plugins in OJS, OMP, and OPS for possible installation. ## Adding A New Plugin -If you'd like to add a new plugin or plugin release to the Plugin Gallery, you can use Github to propose changes here. They will be tested and if they are accepted they will be merged and become part of the Plugin Gallery. +If you'd like to add a new plugin or plugin release to the Plugin Gallery, you can use GitHub to propose changes here. They will be tested and if they are accepted they will be merged and become part of the Plugin Gallery. To add a new plugin, or make a new release of an existing plugin: -- Fork this repository to your own Github account +- Fork this repository to your own GitHub account - Edit the [XML file](./plugins.xml) in your fork to add a new `` or `` element (see [Get the Plugin into the Plugin Gallery](https://docs.pkp.sfu.ca/dev/plugin-guide/en/release#get-the-plugin-into-the-plugin-gallery)) - Open a Pull Request against this repository with the updated XML from your fork -- Once it passes the build and it is reviewed by the maintainers, it will be merged and become part of the Plugin Gallery. +- Once it passes the build and is reviewed by the maintainers, it will be merged and become part of the Plugin Gallery. ## Checks run on the PRs