Skip to content

Commit 824fe37

Browse files
committed
git-ecosystem migration: update bundle id
Update Git Bundle Server's bundle id to `git-ecosystem` (based on this guidance [1] indicating that hyphens are acceptable). 1: https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleidentifier#discussion Signed-off-by: Lessley Dennington <[email protected]>
1 parent b9caf8f commit 824fe37

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build/package/pkg/pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ die () {
88
THISDIR="$( cd "$(dirname "$0")" ; pwd -P )"
99

1010
# Product information
11-
IDENTIFIER="com.github.gitbundleserver"
11+
IDENTIFIER="com.git-ecosystem.gitbundleserver"
1212
INSTALL_LOCATION="/usr/local/git-bundle-server"
1313

1414
# Defaults

scripts/uninstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ else
5757
fi
5858

5959
# If installed via MacOS .pkg, remove package receipt
60-
PKG_ID=com.github.gitbundleserver
60+
PKG_ID=com.git-ecosystem.gitbundleserver
6161
if command -v pkgutil >/dev/null 2>&1 && pkgutil --pkgs=$PKG_ID >/dev/null 2>&1
6262
then
6363
# Must run as root

test/integration/features/support/daemonState.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function getLaunchDDaemonState(): DaemonState {
1010

1111
var user = child_process.spawnSync('id', ['-u']).stdout.toString().trim()
1212
var cmdResult = child_process.spawnSync('launchctl',
13-
['print', `user/${user}/com.github.gitbundleserver`])
13+
['print', `user/${user}/com.git-ecosystem.gitbundleserver`])
1414

1515
var state = parseOutput(cmdResult.stdout.toString(), regex)
1616

@@ -31,7 +31,7 @@ export function getSystemDDaemonState(): DaemonState {
3131

3232
var user = child_process.spawnSync('id', ['-u']).stdout.toString()
3333
var cmdResult = child_process.spawnSync('systemctl',
34-
['status', '--user', user, 'com.github.gitbundleserver'])
34+
['status', '--user', user, 'com.git-ecosystem.gitbundleserver'])
3535

3636
var state = parseOutput(cmdResult.stdout.toString(), regex)
3737

0 commit comments

Comments
 (0)