Skip to content

Commit 0cb059b

Browse files
committed
chore: rename trustification references to guacsec
1 parent 3962c91 commit 0cb059b

17 files changed

Lines changed: 54 additions & 49 deletions

File tree

.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/trustification/exhort-javascript-api/discussions/
5+
url: https://github.com/guacsec/exhort-javascript-api/discussions/
66
about: You can also use Discussions for questions and ideas.

.github/workflows/pr-validation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333

3434
- name: Create .npmrc
3535
run: |
36+
echo "@guacsec:registry=https://npm.pkg.github.com" >> .npmrc
3637
echo "@trustification:registry=https://npm.pkg.github.com" >> .npmrc
3738
3839
- name: Install commitlint

.github/workflows/pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535

3636
- name: Create .npmrc
3737
run: |
38+
echo "@guacsec:registry=https://npm.pkg.github.com" >> .npmrc
3839
echo "@trustification:registry=https://npm.pkg.github.com" >> .npmrc
3940
4041
- name: Enable Corepack

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343

4444
- name: Create .npmrc
4545
run: |
46+
echo "@guacsec:registry=https://npm.pkg.github.com" >> .npmrc
4647
echo "@trustification:registry=https://npm.pkg.github.com" >> .npmrc
4748
4849
- name: Configure git

.github/workflows/stage.yml

Lines changed: 2 additions & 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 == 'trustification' && github.event.pull_request.merged == true && !startsWith(github.head_ref, 'release/')
32+
if: github.repository_owner == 'guacsec' && github.event.pull_request.merged == true && !startsWith(github.head_ref, 'release/')
3333
environment: staging
3434
name: Stage the project
3535
steps:
@@ -50,6 +50,7 @@ jobs:
5050

5151
- name: Create .npmrc
5252
run: |
53+
echo "@guacsec:registry=https://npm.pkg.github.com" >> .npmrc
5354
echo "@trustification:registry=https://npm.pkg.github.com" >> .npmrc
5455
5556
- name: Enable Corepack

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
### OpenAPI Specifications
2626

27-
The OpenAPI specification is located in the [`exhort-api-spec`](https://github.com/trustification/exhort-api-spec) where the Java and Javascript libraries are generated.
27+
The OpenAPI specification is located in the [`trustify-da-api-spec`](https://github.com/guacsec/trustify-da-api-spec) where the Java and Javascript libraries are generated.
2828

2929
### Code Walkthrough
3030

@@ -86,7 +86,7 @@ scripts in [integration/testers](integration/testers).<br/>
8686

8787
We have 3 _testers_:
8888
* [integration/testers/cli](integration/testers/cli) is a _package.json_ used for installing the _ESM module_.
89-
Invoking the CLI Script is done against the _@trustification/exhort-javascript-api/dist/src/cli.js_ in the tester's
89+
Invoking the CLI Script is done against the _@guacsec/exhort-javascript-api/dist/src/cli.js_ in the tester's
9090
_node_modules_.
9191
* [integration/testers/javascript](integration/testers/javascript) is a _javascript_ script invoking the _ESM module_.
9292
* [integration/testers/typescript](integration/testers/typescript) is a _typescript_ script invoking the _ESM module_.
@@ -119,7 +119,7 @@ contribution. See the [DCO](DCO) file for details.
119119

120120
<!-- Real links -->
121121
[0]: https://www.conventionalcommits.org/en/v1.0.0/
122-
[1]: https://github.com/trustification/exhort/blob/0.1.x/src/main/resources/META-INF/openapi.yaml
122+
[1]: https://github.com/guacsec/exhort/blob/0.1.x/src/main/resources/META-INF/openapi.yaml
123123

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

README.md

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

3-
* Looking for the OpenAPI Spec? Try [Exhort API Spec](https://github.com/trustification/exhort-api-spec)
4-
* Looking for our Java API? Try [Exhort Java API](https://github.com/trustification/exhort-java-api).
5-
* Looking for our Backend implementation? Try [Exhort](https://github.com/trustification/exhort).
3+
* Looking for the OpenAPI Spec? Try [Exhort API Spec](https://github.com/guacsec/trustify-da-api-spec)
4+
* Looking for our Java API? Try [Exhort Java API](https://github.com/guacsec/exhort-java-api).
5+
* Looking for our Backend implementation? Try [Exhort](https://github.com/guacsec/exhort).
66

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

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

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

3737
```shell
38+
echo "@guacsec:registry=https://npm.pkg.github.com" >> .npmrc
3839
echo "@trustification:registry=https://npm.pkg.github.com" >> .npmrc
3940
```
4041
</p>
@@ -44,11 +45,11 @@ echo "@trustification:registry=https://npm.pkg.github.com" >> .npmrc
4445
Use as ESM Module from an ESM module
4546

4647
```shell
47-
npm install @trustification/exhort-javascript-api
48+
npm install @guacsec/exhort-javascript-api
4849
```
4950

5051
```javascript
51-
import exhort from '@trustification/exhort-javascript-api'
52+
import exhort from '@guacsec/exhort-javascript-api'
5253
import fs from 'node:fs'
5354

5455
// Get stack analysis in JSON format
@@ -65,14 +66,14 @@ let componentAnalysis = await exhort.componentAnalysis('/path/to/pom.xml')
6566
Use as ESM Module from Common-JS module
6667

6768
```shell
68-
npm install @trustification/exhort-javascript-api
69+
npm install @guacsec/exhort-javascript-api
6970
```
7071

7172
```javascript
7273
async function loadExhort()
7374
{
7475
// dynamic import is the only way to import ESM module into commonJS module
75-
const { default: exhort } = await import('@trustification/exhort-javascript-api');
76+
const { default: exhort } = await import('@guacsec/exhort-javascript-api');
7677
return exhort
7778
}
7879
const runExhort = (manifestPath) => {
@@ -98,7 +99,7 @@ Use as CLI Script
9899
<summary>Click for help menu</summary>
99100

100101
```shell
101-
$ npx @trustification/exhort-javascript-api help
102+
$ npx @guacsec/exhort-javascript-api help
102103

103104
Usage: exhort-javascript-api {component|stack}
104105

@@ -113,24 +114,24 @@ Options:
113114

114115
```shell
115116
# get stack analysis in json format
116-
$ npx @trustification/exhort-javascript-api stack /path/to/pom.xml
117+
$ npx @guacsec/exhort-javascript-api stack /path/to/pom.xml
117118

118119
# get stack analysis in json format (summary only)
119-
$ npx @trustification/exhort-javascript-api stack /path/to/pom.xml --summary
120+
$ npx @guacsec/exhort-javascript-api stack /path/to/pom.xml --summary
120121

121122
# get stack analysis in html format format
122-
$ npx @trustification/exhort-javascript-api stack /path/to/pom.xml --html
123+
$ npx @guacsec/exhort-javascript-api stack /path/to/pom.xml --html
123124

124125
# get component analysis
125-
$ npx @trustification/exhort-javascript-api component /path/to/pom.xml
126+
$ npx @guacsec/exhort-javascript-api component /path/to/pom.xml
126127
```
127128
</li>
128129

129130
<li>
130131
Use as Global Binary
131132

132133
```shell
133-
npm install --global @trustification/exhort-javascript-api
134+
npm install --global @guacsec/exhort-javascript-api
134135
```
135136

136137
```shell
@@ -206,7 +207,7 @@ Excluding a package from any analysis can be achieved by marking the package for
206207

207208
<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:
208209
```go
209-
module github.com/trustification/SaaSi/deployer
210+
module github.com/guacsec/SaaSi/deployer
210211

211212
go 1.19
212213

@@ -295,7 +296,7 @@ for various customization.
295296
However, <em>ESM Module</em> users, can opt for customizing programmatically:
296297

297298
```javascript
298-
import exhort from '@trustification/exhort-javascript-api'
299+
import exhort from '@guacsec/exhort-javascript-api'
299300
import fs from 'node:fs'
300301

301302
let options = {
@@ -499,8 +500,8 @@ For some ecosystems we support passing additional CLI arguments to the underlyin
499500

500501

501502
<!-- Badge links -->
502-
[0]: https://img.shields.io/github/v/release/trustification/exhort-javascript-api?color=green&label=latest
503-
[1]: https://img.shields.io/github/v/release/trustification/exhort-javascript-api?color=yellow&include_prereleases&label=early-access
503+
[0]: https://img.shields.io/github/v/release/guacsec/exhort-javascript-api?color=green&label=latest
504+
[1]: https://img.shields.io/github/v/release/guacsec/exhort-javascript-api?color=yellow&include_prereleases&label=early-access
504505

505506
### Known Issues
506507

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: trustification/exhort-javascript-api
6+
github.com/project-slug: guacsec/exhort-javascript-api
77
github.com/project-readme-path: README.md
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
8+
backstage.io/view-url: https://github.com/guacsec/exhort-javascript-api/blob/main/catalog-info.yaml
9+
backstage.io/edit-url: https://github.com/guacsec/exhort-javascript-api/blob/main/catalog-info.yaml
10+
backstage.io/source-location: url:https://github.com/guacsec/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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ COPY configs/.npmrc .
2828
# replace placeholder with the actual environment variable
2929
RUN sed -i "s/__PACKAGE_REGISTRY_ACCESS_TOKEN__/${PACKAGE_REGISTRY_ACCESS_TOKEN}/g" ./.npmrc
3030
# install Exhort javascript API
31-
RUN npm install --global @trustification/exhort-javascript-api@${EXHORT_JAVASCRIPT_API_VERSION}
31+
RUN npm install --global @guacsec/exhort-javascript-api@${EXHORT_JAVASCRIPT_API_VERSION}
3232

3333
# add RHDA script
3434
COPY scripts/rhda.sh /rhda.sh
@@ -47,7 +47,7 @@ USER default
4747
# second stage
4848
FROM registry.access.redhat.com/ubi9/nodejs-20-minimal
4949

50-
LABEL org.opencontainers.image.source=https://github.com/trustification/exhort-javascript-api
50+
LABEL org.opencontainers.image.source=https://github.com/guacsec/exhort-javascript-api
5151

5252
# assign rhda source for exhort tracking purposes
5353
ENV RHDA_SOURCE=''

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-
"@trustification/exhort-javascript-api": "file:../../../"
9+
"@guacsec/exhort-javascript-api": "file:../../../"
1010
}
1111
}

0 commit comments

Comments
 (0)