Remove references to winget-private-repository

This commit is contained in:
Michael Herrmann
2021-12-21 19:12:38 +01:00
parent 14f9074079
commit 7b03f4283a
4 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ export HOST_NAME=api.winget.pro
export GIT_SERVER=github.com
# The path on GIT_SERVER where this repository lies:
export GIT_REPO_NAME=omaha-consulting/winget-private-repository
export GIT_REPO_NAME=omaha-consulting/api.winget.pro
# The branch of this repository that should be checked out:
export GIT_REPO_BRANCH=main
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Installs winget-private-repository and all dependencies on a fresh Debian 11.
# Installs api.winget.pro and all dependencies on a fresh Debian 11.
# To use, upload this file and .bashrc to /root, then execute this script as
# root.
+1 -4
View File
@@ -18,10 +18,7 @@ class APITest(TestCase):
def test_information_required_parts(self):
data = self._get('information')['Data']
self.assertEqual(
'github.com/omaha-consulting/winget-private-repository',
data['SourceIdentifier']
)
self.assertEqual('api.winget.pro', data['SourceIdentifier'])
self.assertEqual(['1.1.0'], data['ServerSupportedVersions'])
def test_search_all_empty(self):
+1 -2
View File
@@ -21,8 +21,7 @@ def index(*_):
@return_jsonresponse
def information(*_):
return {
'SourceIdentifier':
'github.com/omaha-consulting/winget-private-repository',
'SourceIdentifier': 'api.winget.pro',
'ServerSupportedVersions': ['1.1.0']
}