Skip to content

Commit 056d36e

Browse files
authored
Merge pull request #1 from gitopia/fix-rebrand
fix dgit -> gitopia
2 parents bcc4ba5 + ea6a1d7 commit 056d36e

5 files changed

Lines changed: 19 additions & 16 deletions

File tree

.github/workflows/dgit-mirror.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
node-version: 12
1616
registry-url: https://registry.npmjs.org/
1717
- name: gitopia mirror action
18-
uses: thetechtrap/gitopia-mirror-action@master
18+
uses: gitopia/gitopia-mirror-action@master
1919
# The action should not publish any real changes, but should succeed.
2020
with:
2121
gitopiaWallet: "${{ secrets.GITOPIA_WALLET }}"

bin/index.mjs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@ const main = async () => {
77

88
if (args.length < 2) {
99
// tslint:disable-next-line:no-console
10-
console.error("Usage: git-remote-dgit <name> <url>");
10+
console.error("Usage: git-remote-gitopia <name> <url>");
1111
process.exit(1);
1212
}
1313

1414
// Show warning when newer version is available
1515
try {
16-
const npmRegistryApi = "https://registry.npmjs.org/-/package/@thetechtrap/git-remote-dgit/dist-tags"
17-
const { data } = await axios.get(npmRegistryApi)
18-
if (VERSION !== data.latest) {
19-
console.error(`Warning: New version ${data.latest} of git-remote-gitopia is available. Please upgrade.`)
20-
}
16+
const npmRegistryApi =
17+
"https://registry.npmjs.org/-/package/@gitopia/git-remote-gitopia/dist-tags";
18+
const { data } = await axios.get(npmRegistryApi);
19+
if (VERSION !== data.latest) {
20+
console.error(
21+
`Warning: New version ${data.latest} of git-remote-gitopia is available. Please upgrade.`
22+
);
23+
}
2124
} catch (error) {}
2225

2326
const name = args[0] === args[1] ? "_" : args[0];

bin/lib/git.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class GitHelper {
1818
// OK
1919
constructor(helper) {
2020
this.helper = helper;
21-
this.debug = debug("dgit");
21+
this.debug = debug("gitopia");
2222
}
2323

2424
/***** core methods *****/

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "@thetechtrap/git-remote-dgit",
2+
"name": "@gitopia/git-remote-gitopia",
33
"version": "0.1.4",
4-
"description": "git-remote-helper for Dgit",
4+
"description": "git-remote-helper for Gitopia",
55
"main": "bin/index.mjs",
66
"bin": {
77
"git-remote-gitopia": "bin/index.mjs"
@@ -32,18 +32,18 @@
3232
},
3333
"repository": {
3434
"type": "git",
35-
"url": "git+https://github.com/TheTechTrap/git-remote-dgit.git"
35+
"url": "git+https://github.com/gitopia/git-remote-gitopia.git"
3636
},
3737
"keywords": [
3838
"git-remote-helper",
39-
"dgit",
39+
"gitopia",
4040
"git",
4141
"arweave"
4242
],
43-
"author": "dgit@thetechtrap.com",
43+
"author": "gitopia@thetechtrap.com",
4444
"license": "MIT",
4545
"bugs": {
46-
"url": "https://github.com/TheTechTrap/git-remote-dgit/issues"
46+
"url": "https://github.com/gitopia/git-remote-gitopia/issues"
4747
},
48-
"homepage": "https://github.com/TheTechTrap/git-remote-dgit#readme"
48+
"homepage": "https://github.com/gitopia/git-remote-gitopia#readme"
4949
}

0 commit comments

Comments
 (0)