mirror of
https://github.com/omaha-consulting/winget.pro.git
synced 2026-10-24 12:52:26 +00:00
Remove references to winget-private-repository
This commit is contained in:
@@ -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
@@ -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.
|
||||
|
||||
|
||||
@@ -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
@@ -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']
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user