Skip to content

Commit d94cbc1

Browse files
committed
chore: rename trustification references to guacsec
1 parent 8e44e06 commit d94cbc1

19 files changed

Lines changed: 77 additions & 56 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

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

.github/workflows/pr.yml

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

3636
- name: Create .npmrc
3737
run: |
38-
echo "@trustification:registry=https://npm.pkg.github.com" >> .npmrc
38+
echo "@guacsec:registry=https://npm.pkg.github.com" >> .npmrc
3939
4040
- name: Enable Corepack
4141
run: corepack enable

.github/workflows/release.yml

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

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

.github/workflows/stage.yml

Lines changed: 2 additions & 2 deletions
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,7 +50,7 @@ jobs:
5050

5151
- name: Create .npmrc
5252
run: |
53-
echo "@trustification:registry=https://npm.pkg.github.com" >> .npmrc
53+
echo "@guacsec:registry=https://npm.pkg.github.com" >> .npmrc
5454
5555
- name: Enable Corepack
5656
run: corepack enable

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Mocha (Test single file)",
9+
"type": "node",
10+
"request": "launch",
11+
"runtimeArgs": [
12+
"${workspaceRoot}/node_modules/.bin/mocha",
13+
"--inspect-brk",
14+
"${relativeFile}",
15+
],
16+
"console": "integratedTerminal",
17+
"internalConsoleOptions": "neverOpen",
18+
// "port": 9229
19+
}
20+
]
21+
}

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 [`exhort-api-spec`](https://github.com/guacsec/exhort-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 & 20 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/exhort-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,11 +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 "@trustification:registry=https://npm.pkg.github.com" >> .npmrc
38+
echo "@guacsec:registry=https://npm.pkg.github.com" >> .npmrc
3939
```
4040
</p>
4141

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

4646
```shell
47-
npm install @trustification/exhort-javascript-api
47+
npm install @guacsec/exhort-javascript-api
4848
```
4949

5050
```javascript
51-
import exhort from '@trustification/exhort-javascript-api'
51+
import exhort from '@guacsec/exhort-javascript-api'
5252
import fs from 'node:fs'
5353

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

6767
```shell
68-
npm install @trustification/exhort-javascript-api
68+
npm install @guacsec/exhort-javascript-api
6969
```
7070

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

100100
```shell
101-
$ npx @trustification/exhort-javascript-api help
101+
$ npx @guacsec/exhort-javascript-api help
102102

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

@@ -113,24 +113,24 @@ Options:
113113

114114
```shell
115115
# get stack analysis in json format
116-
$ npx @trustification/exhort-javascript-api stack /path/to/pom.xml
116+
$ npx @guacsec/exhort-javascript-api stack /path/to/pom.xml
117117

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

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

124124
# get component analysis
125-
$ npx @trustification/exhort-javascript-api component /path/to/pom.xml
125+
$ npx @guacsec/exhort-javascript-api component /path/to/pom.xml
126126
```
127127
</li>
128128

129129
<li>
130130
Use as Global Binary
131131

132132
```shell
133-
npm install --global @trustification/exhort-javascript-api
133+
npm install --global @guacsec/exhort-javascript-api
134134
```
135135

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

207207
<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:
208208
```go
209-
module github.com/trustification/SaaSi/deployer
209+
module github.com/guacsec/SaaSi/deployer
210210

211211
go 1.19
212212

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

297297
```javascript
298-
import exhort from '@trustification/exhort-javascript-api'
298+
import exhort from '@guacsec/exhort-javascript-api'
299299
import fs from 'node:fs'
300300

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

501501

502502
<!-- Badge links -->
503-
[0]: https://img.shields.io/github/v/release/trustification/exhort-javascript-api?color=green&label=latest
504-
[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
505505

506506
### Known Issues
507507

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=''

0 commit comments

Comments
 (0)