Skip to content

Commit a27bb34

Browse files
authored
Merge pull request #2 from OpenVoxProject/openvox
CI and version: Changes for OpenVox namespacing
2 parents 458d8dd + 8e1c4c4 commit a27bb34

File tree

14 files changed

+142
-124
lines changed

14 files changed

+142
-124
lines changed

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
updates:
3+
# raise PRs for gem updates
4+
- package-ecosystem: bundler
5+
directory: "/"
6+
schedule:
7+
interval: daily
8+
time: "13:00"
9+
open-pull-requests-limit: 10
10+
11+
# Maintain dependencies for GitHub Actions
12+
- package-ecosystem: github-actions
13+
directory: "/"
14+
schedule:
15+
interval: daily
16+
time: "13:00"
17+
open-pull-requests-limit: 10

.github/release.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
3+
4+
changelog:
5+
exclude:
6+
labels:
7+
- duplicate
8+
- invalid
9+
- modulesync
10+
- question
11+
- skip-changelog
12+
- wont-fix
13+
- wontfix
14+
15+
categories:
16+
- title: Breaking Changes 🛠
17+
labels:
18+
- backwards-incompatible
19+
20+
- title: New Features 🎉
21+
labels:
22+
- enhancement
23+
24+
- title: Bug Fixes 🐛
25+
labels:
26+
- bug
27+
28+
- title: Documentation Updates 📚
29+
labels:
30+
- documentation
31+
- docs
32+
33+
- title: Dependency Updates ⬆️
34+
labels:
35+
- dependencies
36+
37+
- title: Other Changes
38+
labels:
39+
- "*"

.github/workflows/lein-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
java: [ '11', '17' ]
19+
java: [ '17', '21' ]
2020
steps:
2121
- name: Check out repository code
2222
uses: actions/checkout@v3
@@ -26,7 +26,7 @@ jobs:
2626
distribution: temurin
2727
java-version: ${{ matrix.java }}
2828
- name: Install Clojure tools
29-
uses: DeLaGuardo/setup-clojure@10.2
29+
uses: DeLaGuardo/setup-clojure@13.4
3030
with:
3131
cli: latest # Clojure CLI based on tools.deps
3232
lein: latest # Leiningen
@@ -36,4 +36,4 @@ jobs:
3636
cljstyle: latest # cljstyle
3737
zprint: latest # zprint
3838
- name: Run lein tests
39-
run: lein test
39+
run: lein test

.github/workflows/mend.yaml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/release.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Release and publish package to clojars.org
3+
4+
permissions:
5+
contents: write
6+
packages: write
7+
8+
on:
9+
workflow_dispatch:
10+
11+
jobs:
12+
release:
13+
uses: 'openvoxproject/shared-actions/.github/workflows/clojure_release.yml@main'
14+
secrets:
15+
github_pat: ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
16+
ssh_private_key: ${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }}
17+
clojars_username: ${{ secrets.CLOJARS_USERNAME }}
18+
clojars_password: ${{ secrets.CLOJARS_PASSWORD }}

.travis.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

CODEOWNERS

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# rbac-client
22

3-
A Clojure library designed to hold lightweight API clients for PE services.
3+
A Clojure library designed to hold lightweight API clients for PE services. Note: This is not used for OpenVox. However, openvox-server
4+
still has remnants of hooks allowing for the use of PE RBAC, so until we spend the time to remove the unused code, we keep this
5+
library around.
46

57
## Usage
68

@@ -46,5 +48,6 @@ sets of files.
4648
## License
4749

4850
Copyright © 2016 Puppet
51+
Copyright © 2025 Vox Pupuli
4952

5053
Distributed under the Apache License version 2.0

ext/travisci/test.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

project.clj

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,39 @@
1-
(defn deploy-info
2-
[url]
3-
{:url url
4-
:username :env/clojars_jenkins_username
5-
:password :env/clojars_jenkins_password
6-
:sign-releases false})
7-
8-
(defproject puppetlabs/rbac-client "1.1.6-SNAPSHOT"
1+
(defproject org.openvoxproject/rbac-client "1.1.6-SNAPSHOT"
92
:description "Tools for interacting with PE RBAC"
103
:license {:name "Apache License, Version 2.0"
114
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
125

13-
:parent-project {:coords [puppetlabs/clj-parent "5.6.17"]
6+
:parent-project {:coords [org.openvoxproject/clj-parent "7.5.1"]
147
:inherit [:managed-dependencies]}
158

169
:dependencies [[org.clojure/clojure]
1710
[ring/ring-core]
1811
[ring/ring-json]
19-
[puppetlabs/ring-middleware]
12+
[org.openvoxproject/ring-middleware]
2013
[slingshot]
21-
[puppetlabs/kitchensink]
22-
[puppetlabs/http-client]
23-
[puppetlabs/trapperkeeper]
24-
[puppetlabs/i18n]]
14+
[org.openvoxproject/kitchensink]
15+
[org.openvoxproject/http-client]
16+
[org.openvoxproject/trapperkeeper]
17+
[org.openvoxproject/i18n]]
2518

2619
:pedantic? :abort
27-
:profiles {:dev {:dependencies [[puppetlabs/kitchensink :classifier "test"]
28-
[puppetlabs/trapperkeeper :classifier "test"]
29-
[puppetlabs/trapperkeeper-webserver-jetty9]
30-
[puppetlabs/trapperkeeper-webserver-jetty9 :classifier "test"]
31-
[org.bouncycastle/bcpkix-jdk15on]
20+
:profiles {:dev {:dependencies [[org.openvoxproject/kitchensink :classifier "test"]
21+
[org.openvoxproject/trapperkeeper :classifier "test"]
22+
[org.openvoxproject/trapperkeeper-webserver-jetty10]
23+
[org.openvoxproject/trapperkeeper-webserver-jetty10 :classifier "test"]
24+
[org.bouncycastle/bcpkix-jdk18on]
3225
; transitive dependency
3326
[org.clojure/tools.nrepl "0.2.13"]]}
3427
:testutils {:source-paths ^:replace ["test"]}}
3528

3629
:plugins [[lein-parent "0.3.7"]
37-
[puppetlabs/i18n "0.8.0"]]
30+
[org.openvoxproject/i18n "0.9.4"]]
3831

3932
:classifiers [["test" :testutils]]
4033

4134
:test-paths ["test"]
4235

43-
:deploy-repositories [["releases" ~(deploy-info "https://clojars.org/repo")]
44-
["snapshots" "https://artifactory.delivery.puppetlabs.net/artifactory/clojure-snapshots__local/"]])
36+
:deploy-repositories [["releases" {:url "https://clojars.org/repo"
37+
:username :env/CLOJARS_USERNAME
38+
:password :env/CLOJARS_PASSWORD
39+
:sign-releases false}]])

0 commit comments

Comments
 (0)