Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
nodejs.org proxy
-
Hi,
How to configure proxy connector for nodejs.org?
I've tried:
https://nodejs.org/dist/
https://nodejs.org/dist
https://nodejs.org/download/release/
https://nodejs.org/download/releaseAlways getting:
An error occurred while querying connectors for this feed. The remote server returned an error: (301) Moved Permanently.
Cheers,
Michal
-
-
Being able to mirror the NodeJS distribution listing natively would be convenient. Currently we're having to do it by running a script daily that syncs the nodeJS Dist with an assets directory in proget
-
@michal-roszak_0767 I think this is a similar question to your post in another thread, so I'll just quote my response from there:
@stevedennis said in services.gradle.org proxy:
Hi @michal-roszak_0767 ,
That looks like it's just a "web page" with a bunch of links to files?
ProGet does not support connecting to "web pages" and we have no plans to add that feature. There's simply no API to use, which users could never be able to "see" the files in ProGet until after they've been downloaded -- and the lack of metadata also creates all sorts of other complexities.
However, you can create an asset directory to store "generic" files. It's basically a web-based file system: https://docs.inedo.com/docs/proget/asset-directories-file-storage/what-is-an-asset-directory
Thanks,
SteveI think that @dan-brown_0128 is on the right track - if you can parse the "web page" and know what links reference files you want, then you could then follow those links, download the files, and upload those files to an asset directory
Not sure if you're able to share the script @dan-brown_0128 but if not, it'd probably be "relatively easy" to get ChatGPT to hep with or something
-
Unfortunately we cannot share our scripts due to intellectual property rights. The hint I can give though is to note the format of the
index.json
in the public dist and maintain that in your private dist.