aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--src/Package.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7ba2f40..5d1db06 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Simple Build System for Native Languages
Sibs is inspired by [Cargo](https://github.com/rust-lang/cargo/), you can think of it like a C/C++/Zig version of Cargo. Sibs can build cmake projects as well, so you can use sibs with existing cmake projects with minimal work.
-List of packages can be found at https://gitlab.com/DEC05EBA/sibs_packages/raw/master/packages.json
+List of packages can be found at https://git.dec05eba.com/sibs-packages/plain/packages.json (currently in progress of moving existing sibs packages from github to git.dec05eba.com).
# Usage
```
diff --git a/src/Package.cpp b/src/Package.cpp
index 925de82..a2c1681 100644
--- a/src/Package.cpp
+++ b/src/Package.cpp
@@ -10,6 +10,8 @@
using namespace std;
using namespace rapidjson;
+// Cache of package list, only stored in memory right now.
+// TODO: Store this in a file as well, and update it when the remote package list updates
static Document *packageList = nullptr;
namespace sibs
@@ -134,7 +136,7 @@ namespace sibs
Result<PackageMetadata> Package::getPackage(const char *packageName, const PackageVersionRange &versionRange, Platform platform)
{
- Result<Document*> packageList = Package::getPackageList("https://gitlab.com/DEC05EBA/sibs_packages/raw/master/packages.json");
+ Result<Document*> packageList = Package::getPackageList("https://git.dec05eba.com/sibs-packages/plain/packages.json");
if(!packageList)
return Result<PackageMetadata>::Err(packageList);