Comments (6)
@zacharp and I have been talking about this over the last couple of days. More guidance will be coming as soon as his current feature work is wrapped up. We've been talking about a "minimum" configuration to just stand-up a lightweight developer type environment as opposed to an enterprise grade configuration. The database choice can also be abstracted by an interface so other "database" technologies could be used.
from winget-cli-restsource.
I've been trying for three days and I can't get this thing to run, I think it needs some environment variables or something. I can't get it to run locally or on Azure.
If someone could give me some guidance on where to put the settings for Cosmos DB, storage, etc. I can flesh it out into a doc. The WinGet.RestSource.Infrastructure project just looks like some kind of template with no information on what I need to spin up or where, although maybe that's just because I don't understand ARM templates :D
(or, provide a reference implementation that doesn't rely on stuff running in Azure, but I have student credits to burn, so...)
from winget-cli-restsource.
@RDMacLachlan is about to make a PR with a PowerShell script and instructions for deploying the project. We still need to build a release pipeline so the .zip files can be published in a release. Optionally someone from the community might want to look at the PowerShell script and add some extra magic to download the latest released artifacts to make deploying even more simple.
from winget-cli-restsource.
Hi @jedieaston,
As part of this PR, we did include documentation on how to manually create each object in Azure. While the script and manual creation will consume Azure credits, the manual guidance does outline the individual objects required to host a Windows Package Manager private repository.
@denelon - Do you think we could make use of the Azure Cosmos DB Emulator, and a webserver to host the private repository on-premises? Can we make use of a SQL Database?
Creating a Windows Package Manager private repository guidance:
https://github.com/microsoft/winget-cli-restsource/blob/da4168a61fdd0b35900831bd22338249ae886bf4/doc/new-private-repository-azure.md
from winget-cli-restsource.
This looks good. Any chance of getting instructions on local development? If not this will help anyway, but those Azure for Students credits only go so far :D
from winget-cli-restsource.
@RDMacLachlan I believe there is an interface for the storage. One could build a SQL interface. I'm not sure about the Cosmos DB Emulator scenario. I am not aware of anything preventing that technology stack.
from winget-cli-restsource.
Related Issues (20)
- Get-WinGetManifest does not work with .yaml files because it's relying on a missing variable HOT 1
- Get-WinGetManifest logic is broken around how it performs path detection HOT 1
- Completely broken HOT 1
- Unable to Invoke API Requests
- OpenApi definition: autorest
- How should a REST source handle different ManifestVersions?
- Full Offline / closed network capabilities including feed generation HOT 5
- Missing application settings under Azure function
- make a non azure referance implementation HOT 5
- Parameter missing in Automate the creation of a Windows Package Manager REST source HOT 2
- New-WinGetSource cmdlet doesn't exist HOT 1
- Select and upgrade like options HOT 3
- Add Manifest to Private Repo using "Add-WingetManifest" command failed. HOT 1
- Entra ID authentication
- Package installed from private repository is being listed as being installed from public repository HOT 6
- Unable to Create Rest Source HOT 4
- Installer `RepairBehavior` never used by the 1.7.0 API schema?
- Native Winget Repo Server for Windows Server HOT 6
- Deployment fails if there are multiple CosmosDB accounts in the RG HOT 1
- New-WinGetSource fails with Unauthorized error on publish-azwebapp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winget-cli-restsource.