2022-07-03 14:50:57 +01:00
2022-08-20 17:44:33 +01:00
2022-10-15 18:26:55 +01:00
WIP
2022-09-25 17:07:56 +01:00
2022-04-17 23:30:48 +01:00
2022-09-23 22:16:12 +01:00
2022-04-16 03:10:12 +01:00
2022-04-17 22:30:33 +01:00
2022-04-17 22:30:33 +01:00
...
2022-04-09 19:53:26 +01:00
2021-05-08 14:59:27 +00:00
2022-09-25 02:24:21 +01:00
2022-09-26 23:30:54 +01:00

ISN

pipeline status

Usage


dotnet user-secrets set ConnectionStrings:DefaultConnection "Server=<lame-pgserver>;Port=<lame-pgport>;Database=<lame-dbname>;Username=<lame-dbusername>;Password=<lame-dbpass>;"

isnd&

# get an api-key from <http://localhost:5000/ApkKeys>

isn push -k <lame-api-key> -s http://localhost:5000/index.json your-lame-versionned.nupkg
wget http://localhost:5000/package/index.json?q=your&prerelease=true&semVerLevel=2.0.0

Installation

Depuis le dossier de la solution, compiler la solution :

dotnet build /restore -c Release
dotnet publish -c Release

Déploiement

sudo mkdir -p /srv/www/isnd
sudo cp -a src/isnd/bin/Release/netcoreapp2.1/publish/* /srv/www/isnd
sudo cp contrib/isnd /etc/init.d/isnd
sudo chmod +x /etc/init.d/isnd
sudo chown -R www-data.www-data /srv/www/isnd
sudo systemctl daemon-reload
  • Créer une base de donées Postgresql,
  • ajuster un fichier de configuration /srv/www/isnd/appsettings.Production.json
  • Démarrer le serveur :
sudo systemctl start isnd
  • Activation du serveur :
sudo systemctl enable isnd

Installation du client

sudo mkdir /usr/local/lib/isn
sudo cp -a src/isn/bin/Release/netcoreapp2.1/* /usr/local/lib/isn
sudo chown -R root.root /usr/local/lib/isn
sudo ln -s /usr/local/lib/isn/isn /usr/local/bin/isn

Mises à jour

# compiler tout
dotnet build -c Release
dotnet publish -c Release -f netcoreapp2.1 src/isnd
# MAJ du serveur
sudo systemctl stop isnd
sudo cp -a src/isnd/bin/Release/netcoreapp2.1/publish/* /srv/www/isnd
sudo systemctl start isnd
# MAJ du client
sudo cp -a src/isn/bin/Release/netcoreapp2.1/* /usr/local/lib/isn
sudo chown -R root.root /usr/local/lib/isn

TODO

{

    "@id": "https://api.nuget.org/v3/registration5-semver1/",
    "@type": "RegistrationsBaseUrl",
    "comment": "Base URL of Azure storage where NuGet package registration info is stored"

},
{

    "@id": "https://api.nuget.org/v3-flatcontainer/",
    "@type": "PackageBaseAddress/3.0.0",
    "comment": "Base URL of where NuGet packages are stored, in the format https://api.nuget.org/v3-flatcontainer/{id-lower}/{version-lower}/{id-lower}.{version-lower}.nupkg"

},
{

    "@id": "https://api.nuget.org/v3/registration5-semver1/",
    "@type": "RegistrationsBaseUrl/3.0.0-rc",
    "comment": "Base URL of Azure storage where NuGet package registration info is stored used by RC clients. This base URL does not include SemVer 2.0.0 packages."

},
{

    "@id": "https://api.nuget.org/v3/registration5-semver1/",
    "@type": "RegistrationsBaseUrl/3.0.0-beta",
    "comment": "Base URL of Azure storage where NuGet package registration info is stored used by Beta clients. This base URL does not include SemVer 2.0.0 packages."

},
{

    "@id": "https://www.nuget.org/packages/{id}/{version}?_src=template",
    "@type": "PackageDetailsUriTemplate/5.1.0",
    "comment": "URI template used by NuGet Client to construct details URL for packages"

},
{

    "@id": "https://api.nuget.org/v3/registration5-gz-semver2/",
    "@type": "RegistrationsBaseUrl/3.6.0",
    "comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."

},

Description
full managed Nuget API v3 client and server implementation
Readme WTFPL 12 MiB
Languages
CSS 41.4%
C# 20.4%
SCSS 19.1%
JavaScript 16%
HTML 3%
Other 0.1%