Skip to content

Commit d31dcf9

Browse files
authored
chore: update references from RHEcosystemAppEng to trustification (#171)
1 parent 58196d7 commit d31dcf9

File tree

15 files changed

+49
-49
lines changed

15 files changed

+49
-49
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
blank_issues_enabled: false
33
contact_links:
44
- name: GitHub Discussions
5-
url: https://github.com/RHEcosystemAppEng/exhort-java-api/discussions/
5+
url: https://github.com/trustification/exhort-java-api/discussions/
66
about: You can also use Discussions for questions and ideas.

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
release:
2727
runs-on: ubuntu-latest
2828
environment: staging
29-
if: github.repository_owner == 'RHEcosystemAppEng' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/' )
29+
if: github.repository_owner == 'trustification' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/' )
3030
name: Release the project
3131
steps:
3232
- name: Checkout sources

.github/workflows/stage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
stage:
3030
runs-on: ubuntu-latest
3131
# Branches that starts with `release/` shouldn't trigger this workflow, as these are triggering the release workflow.
32-
if: github.repository_owner == 'RHEcosystemAppEng' && github.event.pull_request.merged == true && !startsWith(github.head_ref, 'release/')
32+
if: github.repository_owner == 'trustification' && github.event.pull_request.merged == true && !startsWith(github.head_ref, 'release/')
3333
environment: staging
3434
name: Stage the project
3535
steps:

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ scripts in [integration/testers](integration/testers).<br/>
9292

9393
We have 3 _testers_:
9494
* [integration/testers/cli](integration/testers/cli) is a _package.json_ used for installing the _ESM module_.
95-
Invoking the CLI Script is done against the _@RHEcosystemAppEng/exhort-javascript-api/dist/src/cli.js_ in the tester's
95+
Invoking the CLI Script is done against the _@trustification/exhort-javascript-api/dist/src/cli.js_ in the tester's
9696
_node_modules_.
9797
* [integration/testers/javascript](integration/testers/javascript) is a _javascript_ script invoking the _ESM module_.
9898
* [integration/testers/typescript](integration/testers/typescript) is a _typescript_ script invoking the _ESM module_.
@@ -125,7 +125,7 @@ contribution. See the [DCO](DCO) file for details.
125125

126126
<!-- Real links -->
127127
[0]: https://www.conventionalcommits.org/en/v1.0.0/
128-
[1]: https://github.com/RHEcosystemAppEng/exhort/blob/0.1.x/src/main/resources/META-INF/openapi.yaml
128+
[1]: https://github.com/trustification/exhort/blob/0.1.x/src/main/resources/META-INF/openapi.yaml
129129

130130
<!-- Badge links -->
131131
[10]: https://badgen.net/badge/NodeJS%20Version/18/68a063

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Exhort JavaScript API<br/>![latest-no-snapshot][0] ![latest-snapshot][1]
22

3-
* Looking for our Java API? Try [Exhort Java API](https://github.com/RHEcosystemAppEng/exhort-java-api).
4-
* Looking for our Backend implementation? Try [Exhort](https://github.com/RHEcosystemAppEng/exhort).
3+
* Looking for our Java API? Try [Exhort Java API](https://github.com/trustification/exhort-java-api).
4+
* Looking for our Backend implementation? Try [Exhort](https://github.com/trustification/exhort).
55

66
The _Exhort JavaScript API_ module is deployed to _GitHub Package Registry_.
77

@@ -30,11 +30,11 @@ See [GH Docs](https://docs.github.com/en/packages/working-with-a-github-packages
3030

3131
<h3>Usage</h3>
3232
<p>
33-
Configuring <em>NPM</em> to look in <em>GHPR</em> for the <em>RHEcosystemAppEng</em> namespace is done by adding
34-
<code>@RHEcosystemAppEng:registry=https://npm.pkg.github.com</code> to <em>.npmrc</em> in the project root or user home.
33+
Configuring <em>NPM</em> to look in <em>GHPR</em> for the <em>trustification</em> namespace is done by adding
34+
<code>@trustification:registry=https://npm.pkg.github.com</code> to <em>.npmrc</em> in the project root or user home.
3535

3636
```shell
37-
echo "@RHEcosystemAppEng:registry=https://npm.pkg.github.com" >> .npmrc
37+
echo "@trustification:registry=https://npm.pkg.github.com" >> .npmrc
3838
```
3939
</p>
4040

@@ -43,11 +43,11 @@ echo "@RHEcosystemAppEng:registry=https://npm.pkg.github.com" >> .npmrc
4343
Use as ESM Module from an ESM module
4444

4545
```shell
46-
npm install @RHEcosystemAppEng/exhort-javascript-api
46+
npm install @trustification/exhort-javascript-api
4747
```
4848

4949
```javascript
50-
import exhort from '@RHEcosystemAppEng/exhort-javascript-api'
50+
import exhort from '@trustification/exhort-javascript-api'
5151
import fs from 'node:fs'
5252

5353
// Get stack analysis in JSON format
@@ -64,14 +64,14 @@ let componentAnalysis = await exhort.componentAnalysis('/path/to/pom.xml')
6464
Use as ESM Module from Common-JS module
6565

6666
```shell
67-
npm install @RHEcosystemAppEng/exhort-javascript-api
67+
npm install @trustification/exhort-javascript-api
6868
```
6969

7070
```javascript
7171
async function loadExhort()
7272
{
7373
// dynamic import is the only way to import ESM module into commonJS module
74-
const { default: exhort } = await import('@RHEcosystemAppEng/exhort-javascript-api');
74+
const { default: exhort } = await import('@trustification/exhort-javascript-api');
7575
return exhort
7676
}
7777
const runExhort = (manifestPath) => {
@@ -97,7 +97,7 @@ Use as CLI Script
9797
<summary>Click for help menu</summary>
9898

9999
```shell
100-
$ npx @RHEcosystemAppEng/exhort-javascript-api help
100+
$ npx @trustification/exhort-javascript-api help
101101

102102
Usage: exhort-javascript-api {component|stack}
103103

@@ -112,24 +112,24 @@ Options:
112112

113113
```shell
114114
# get stack analysis in json format
115-
$ npx @RHEcosystemAppEng/exhort-javascript-api stack /path/to/pom.xml
115+
$ npx @trustification/exhort-javascript-api stack /path/to/pom.xml
116116

117117
# get stack analysis in json format (summary only)
118-
$ npx @RHEcosystemAppEng/exhort-javascript-api stack /path/to/pom.xml --summary
118+
$ npx @trustification/exhort-javascript-api stack /path/to/pom.xml --summary
119119

120120
# get stack analysis in html format format
121-
$ npx @RHEcosystemAppEng/exhort-javascript-api stack /path/to/pom.xml --html
121+
$ npx @trustification/exhort-javascript-api stack /path/to/pom.xml --html
122122

123123
# get component analysis
124-
$ npx @RHEcosystemAppEng/exhort-javascript-api component /path/to/pom.xml
124+
$ npx @trustification/exhort-javascript-api component /path/to/pom.xml
125125
```
126126
</li>
127127

128128
<li>
129129
Use as Global Binary
130130

131131
```shell
132-
npm install --global @RHEcosystemAppEng/exhort-javascript-api
132+
npm install --global @trustification/exhort-javascript-api
133133
```
134134

135135
```shell
@@ -203,7 +203,7 @@ Excluding a package from any analysis can be achieved by marking the package for
203203

204204
<em>Golang</em> users can add in go.mod a comment with //exhortignore next to the package to be ignored, or to "piggyback" on existing comment ( e.g - //indirect) , for example:
205205
```go
206-
module github.com/RHEcosystemAppEng/SaaSi/deployer
206+
module github.com/trustification/SaaSi/deployer
207207

208208
go 1.19
209209

@@ -292,7 +292,7 @@ for various customization.
292292
However, <em>ESM Module</em> users, can opt for customizing programmatically:
293293

294294
```javascript
295-
import exhort from '@RHEcosystemAppEng/exhort-javascript-api'
295+
import exhort from '@trustification/exhort-javascript-api'
296296
import fs from 'node:fs'
297297

298298
let options = {
@@ -444,8 +444,8 @@ It's also possible, to use lightweight Python PIP utility [pipdeptree](https://p
444444
Need to set environment variable/option - `EXHORT_PIP_USE_DEP_TREE` to true.
445445

446446
<!-- Badge links -->
447-
[0]: https://img.shields.io/github/v/release/RHEcosystemAppEng/exhort-javascript-api?color=green&label=latest
448-
[1]: https://img.shields.io/github/v/release/RHEcosystemAppEng/exhort-javascript-api?color=yellow&include_prereleases&label=early-access
447+
[0]: https://img.shields.io/github/v/release/trustification/exhort-javascript-api?color=green&label=latest
448+
[1]: https://img.shields.io/github/v/release/trustification/exhort-javascript-api?color=yellow&include_prereleases&label=early-access
449449

450450
### Known Issues
451451

catalog-info.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ kind: Component
33
metadata:
44
annotations:
55
backstage.io/kubernetes-id: exhort-javascript-api
6-
github.com/project-slug: RHEcosystemAppEng/exhort-javascript-api
6+
github.com/project-slug: trustification/exhort-javascript-api
77
github.com/project-readme-path: README.md
8-
backstage.io/view-url: https://github.com/RHEcosystemAppEng/exhort-javascript-api/blob/main/catalog-info.yaml
9-
backstage.io/edit-url: https://github.com/RHEcosystemAppEng/exhort-javascript-api/blob/main/catalog-info.yaml
10-
backstage.io/source-location: url:https://github.com/RHEcosystemAppEng/exhort-javascript-api
8+
backstage.io/view-url: https://github.com/trustification/exhort-javascript-api/blob/main/catalog-info.yaml
9+
backstage.io/edit-url: https://github.com/trustification/exhort-javascript-api/blob/main/catalog-info.yaml
10+
backstage.io/source-location: url:https://github.com/trustification/exhort-javascript-api
1111
rhda/manifest-file-path: package.json
1212
backstage.io/techdocs-ref: dir:README.md
1313
name: exhort-javascript-api

docker-image/Dockerfiles/Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ RUN curl -kL https://go.dev/dl/go1.21.5.linux-amd64.tar.gz -o /tmp/golang-packag
2020
&& tar xvzf /tmp/golang-package.tar.gz -C /usr/
2121

2222
# install jq JSON formating tool
23-
RUN curl -kL https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux64 -o /usr/bin/jq
23+
RUN curl -kL https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux64 -o /usr/bin/jq
2424

2525
# copy the .npmrc file
2626
COPY configs/.npmrc .
2727
# replace placeholder with the actual environment variable
2828
RUN sed -i "s/__PACKAGE_REGISTRY_ACCESS_TOKEN__/${PACKAGE_REGISTRY_ACCESS_TOKEN}/g" ./.npmrc
2929
# install Exhort javascript API
30-
RUN npm install --global @RHEcosystemAppEng/[email protected]
30+
RUN npm install --global @trustification/[email protected]
3131

3232
# add RHDA script
3333
COPY scripts/rhda.sh /rhda.sh
@@ -38,21 +38,21 @@ RUN chmod +x /usr/jdk-21.0.1/bin/java \
3838
&& chmod +x /usr/go/bin/go \
3939
&& chmod +x /usr/bin/jq \
4040
&& chmod +x /opt/app-root/src/.npm-global/bin/exhort-javascript-api \
41-
&& chmod +x /rhda.sh
41+
&& chmod +x /rhda.sh
4242

4343
# use default user
44-
USER default
44+
USER default
4545

4646
# second stage
4747
FROM registry.access.redhat.com/ubi9/nodejs-20-minimal
4848

49-
LABEL org.opencontainers.image.source https://github.com/RHEcosystemAppEng/exhort-javascript-api
49+
LABEL org.opencontainers.image.source https://github.com/trustification/exhort-javascript-api
5050

5151
# assign rhda source for exhort tracking purposes
5252
ENV RHDA_SOURCE=''
53-
# contains pip feeze --all data, base64 encoded
53+
# contains pip feeze --all data, base64 encoded
5454
ENV EXHORT_PIP_FREEZE=''
55-
# contains pip show data for all packages, base64 encoded
55+
# contains pip show data for all packages, base64 encoded
5656
ENV EXHORT_PIP_SHOW=''
5757
# indicate whether to use the Minimal version selection (MVS) algorithm to select a set of module versions to use when building Go packages.
5858
ENV EXHORT_GO_MVS_LOGIC_ENABLED='false'
@@ -79,4 +79,4 @@ COPY --from=builder /usr/bin/jq /usr/bin/jq
7979
COPY --from=builder /opt/app-root/src/.npm-global/ /opt/app-root/src/.npm-global/
8080

8181
# Copy RHDA executable script from the builder stage
82-
COPY --from=builder /rhda.sh /rhda.sh
82+
COPY --from=builder /rhda.sh /rhda.sh

docker-image/configs/.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
//npm.pkg.github.com/:_authToken=__PACKAGE_REGISTRY_ACCESS_TOKEN__
2-
@RHEcosystemAppEng:registry=https://npm.pkg.github.com
2+
@trustification:registry=https://npm.pkg.github.com

integration/testers/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"type": "module",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"@RHEcosystemAppEng/exhort-javascript-api": "file:../../../"
9+
"@trustification/exhort-javascript-api": "file:../../../"
1010
}
1111
}

integration/testers/javascript/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22

3-
import exhort from '@RHEcosystemAppEng/exhort-javascript-api'
3+
import exhort from '@trustification/exhort-javascript-api'
44
import process from 'node:process'
55

66
const [,, ...args] = process.argv

0 commit comments

Comments
 (0)