From bc08ea1177f769fc605d170c5bc1571771390ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20F=C3=A9votte?= Date: Mon, 7 Dec 2020 22:25:18 +0100 Subject: [PATCH] Prepare for first release --- .github/workflows/CompatHelper.yml | 19 +++++++++++++++++++ .github/workflows/TagBot.yml | 11 +++++++++++ Changelog.md | 14 ++++++++++++++ LICENSE.md | 10 ++++++++++ Project.toml | 3 +++ README.md | 6 +++--- 6 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/CompatHelper.yml create mode 100644 .github/workflows/TagBot.yml create mode 100644 Changelog.md create mode 100644 LICENSE.md diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml new file mode 100644 index 0000000..dd821e6 --- /dev/null +++ b/.github/workflows/CompatHelper.yml @@ -0,0 +1,19 @@ +name: CompatHelper + +on: + schedule: + - cron: '00 00 * * *' + +jobs: + CompatHelper: + runs-on: ubuntu-latest + steps: + - uses: julia-actions/setup-julia@latest + with: + version: 1.3 + - name: Pkg.add("CompatHelper") + run: julia -e 'using Pkg; Pkg.add("CompatHelper")' + - name: CompatHelper.main() + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: julia -e 'using CompatHelper; CompatHelper.main()' diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml new file mode 100644 index 0000000..d77d3a0 --- /dev/null +++ b/.github/workflows/TagBot.yml @@ -0,0 +1,11 @@ +name: TagBot +on: + schedule: + - cron: 0 * * * * +jobs: + TagBot: + runs-on: ubuntu-latest + steps: + - uses: JuliaRegistries/TagBot@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Changelog.md b/Changelog.md new file mode 100644 index 0000000..4d51af2 --- /dev/null +++ b/Changelog.md @@ -0,0 +1,14 @@ +# Changelog + +This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +This file documents all notable changes between versions. + +## [0.1.0] - 2020-12-07 + +First released version. + +- Julia package feature: + - installation procedure +- CLI features: + - create: create and populate a local clone of a new, empty Registry + - add: add a new version of a package in the Registry diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..71dcb08 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,10 @@ +The RegistryCLI.jl package is licensed under the MIT "Expat" License: + + Copyright (c) 2020: François Févotte, TriScale innov. + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/Project.toml b/Project.toml index e451908..756f071 100644 --- a/Project.toml +++ b/Project.toml @@ -2,6 +2,7 @@ name = "RegistryCLI" uuid = "41fcc7e7-1908-4925-8240-7eafabf08a75" authors = ["François Févotte "] version = "0.1.0" +license = "MIT" [deps] ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63" @@ -12,3 +13,5 @@ Mustache = "ffc61752-8dc7-55ee-8c37-f3e9cdd09e70" [compat] ArgParse = "1.1" LocalRegistry = "0.3" +Mustache = "1.0" +julia = "1" diff --git a/README.md b/README.md index ccc67e1..65ae8a5 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,11 @@ usage: jlreg [-v] [-h] {create|add} Manage a local Julia Registry from the command line. commands: - create Create a new, empty Registry - add Add a new version of a package in the Registry + create Create and populate a local clone of a new, empty Registry + add Publish a new version of a package in the Registry optional arguments: - -v, --verbose + -v, --verbose Print informative messages at each step -h, --help show this help message and exit ```