diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 95eae7f5..0aab5f12 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,5 +1,13 @@ version: 2 updates: + # raise PRs for gem updates + - package-ecosystem: bundler + directory: "/" + schedule: + interval: daily + time: "13:00" + open-pull-requests-limit: 10 + # Maintain dependencies for GitHub Actions - package-ecosystem: github-actions directory: "/" diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 00000000..cca537e5 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,39 @@ +--- +# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes + +changelog: + exclude: + labels: + - duplicate + - invalid + - modulesync + - question + - skip-changelog + - wont-fix + - wontfix + + categories: + - title: Breaking Changes 🛠 + labels: + - backwards-incompatible + + - title: New Features 🎉 + labels: + - enhancement + + - title: Bug Fixes 🐛 + labels: + - bug + + - title: Documentation Updates 📚 + labels: + - documentation + - docs + + - title: Dependency Updates ⬆️ + labels: + - dependencies + + - title: Other Changes + labels: + - "*" diff --git a/.github/workflows/lein-test.yaml b/.github/workflows/lein-test.yaml index 8f2530f8..e22a3350 100644 --- a/.github/workflows/lein-test.yaml +++ b/.github/workflows/lein-test.yaml @@ -20,7 +20,6 @@ jobs: java: - '21' - '17' - - '11' steps: - name: Check out repository code uses: actions/checkout@v6 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..6ebeece3 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,18 @@ +--- +name: Release and publish package to clojars.org + +permissions: + contents: write + packages: write + +on: + workflow_dispatch: + +jobs: + release: + uses: 'openvoxproject/shared-actions/.github/workflows/clojure_release.yml@main' + secrets: + github_pat: ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }} + ssh_private_key: ${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }} + clojars_username: ${{ secrets.CLOJARS_USERNAME }} + clojars_password: ${{ secrets.CLOJARS_PASSWORD }} diff --git a/CODEOWNERS b/CODEOWNERS deleted file mode 100644 index 093fef15..00000000 --- a/CODEOWNERS +++ /dev/null @@ -1,4 +0,0 @@ -# This will cause the puppetserver-maintainers group to be assigned -# review of any opened PRs against the branches containing this file. - -* @puppetlabs/dumpling @puppetlabs/skeletor diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 4c3e3c82..00000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,46 +0,0 @@ -# How to contribute - -* Make sure you have a [GitHub account](https://github.com/signup/free) -* Fork the repository on GitHub - -## Making Changes - -* Create a topic branch from where you want to base your work (this is almost -definitely the master branch). - * To quickly create a topic branch based on master; `git branch - fix/master/my_contribution master` then checkout the new branch with `git - checkout fix/master/my_contribution`. - * Please avoid working directly on the - `master` branch. -* Make commits of logical units. -* Check for unnecessary whitespace with `git diff --check` before committing. -* Make sure your commit messages are in the proper format. - -```` - Make the example in CONTRIBUTING imperative and concrete - - Without this patch applied the example commit message in the CONTRIBUTING - document is not a concrete example. This is a problem because the - contributor is left to imagine what the commit message should look like - based on a description rather than an example. This patch fixes the - problem by making the example concrete and imperative. - - The first line is a real life imperative statement. The body describes - the behavior without the patch, why this is a problem, and how the patch - fixes the problem when applied. -```` - -* Make sure you have added the necessary tests for your changes. -* Run _all_ the tests to assure nothing else was accidentally broken. - -## Submitting Changes - -* Sign the [Contributor License Agreement](http://links.puppetlabs.com/cla). -* Push your changes to a topic branch in your fork of the repository. -* Submit a pull request to the repository in the puppetlabs organization. - -# Additional Resources - -* [Contributor License Agreement](http://links.puppetlabs.com/cla) -* [General GitHub documentation](http://help.github.com/) -* [GitHub pull request documentation](http://help.github.com/send-pull-requests/) diff --git a/README.md b/README.md index 2c68d5dd..c0e65181 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,6 @@ A library for creating and interacting with a pool of JRuby instances in Clojure. -[![Build Status](https://travis-ci.org/puppetlabs/jruby-utils.svg)](https://travis-ci.org/puppetlabs/jruby-utils) - ## Usage This is a brief overview of the functionality of this library; TODO add more docs. @@ -51,6 +49,4 @@ See [LICENSE](LICENSE). ## Support -We use the [Trapperkeeper project on -JIRA](https://tickets.puppetlabs.com/browse/TK) for tickets on this project, -although Github issues are welcome too. +GitHub issues and PRs are welcome! Additionally, drop us a line in [the Vox Pupuli Slack](https://voxpupuli.org/connect/). diff --git a/project.clj b/project.clj index 616aa382..c909e577 100644 --- a/project.clj +++ b/project.clj @@ -1,11 +1,11 @@ -(defproject puppetlabs/jruby-utils "5.2.1-SNAPSHOT" +(defproject org.openvoxproject/jruby-utils "5.2.1-SNAPSHOT" :description "A library for working with JRuby" - :url "https://github.com/puppetlabs/jruby-utils" + :url "https://github.com/openvoxproject/jruby-utils" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} :min-lein-version "2.9.1" - :parent-project {:coords [puppetlabs/clj-parent "7.2.3"] + :parent-project {:coords [org.openvoxproject/clj-parent "7.5.1"] :inherit [:managed-dependencies]} :pedantic? :abort @@ -21,13 +21,14 @@ [clj-commons/fs] [prismatic/schema] [slingshot] + [ring/ring-core] - [puppetlabs/jruby-deps "9.4.8.0-1"] + [org.openvoxproject/jruby-deps "9.4.8.0-3"] - [puppetlabs/i18n] - [puppetlabs/kitchensink] - [puppetlabs/trapperkeeper] - [puppetlabs/ring-middleware]] + [org.openvoxproject/i18n] + [org.openvoxproject/kitchensink] + [org.openvoxproject/trapperkeeper] + [org.openvoxproject/ring-middleware]] :deploy-repositories [["releases" {:url "https://clojars.org/repo" :username :env/clojars_jenkins_username @@ -40,8 +41,8 @@ ;; code that we have. :classifiers [["test" :testutils]] - :profiles {:dev {:dependencies [[puppetlabs/kitchensink :classifier "test" :scope "test"] - [puppetlabs/trapperkeeper :classifier "test" :scope "test"] + :profiles {:dev {:dependencies [[org.openvoxproject/kitchensink :classifier "test" :scope "test"] + [org.openvoxproject/trapperkeeper :classifier "test" :scope "test"] [org.bouncycastle/bcpkix-jdk18on] [org.tcrawley/dynapath]] :jvm-opts ~(let [version (System/getProperty "java.specification.version") @@ -51,10 +52,10 @@ "-XX:+UseG1GC" "-Xms1G" "-Xmx2G"] - (if (= 17 (java.lang.Integer/parseInt major)) + (if (>= 17 (java.lang.Integer/parseInt major)) ["--add-opens" "java.base/sun.nio.ch=ALL-UNNAMED" "--add-opens" "java.base/java.io=ALL-UNNAMED"] [])))} :testutils {:source-paths ^:replace ["test/unit" "test/integration"]}} :plugins [[lein-parent "0.3.9"] - [puppetlabs/i18n "0.8.0" :hooks false]]) + [org.openvoxproject/i18n "0.9.4" :hooks false]])