Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. hwittenborn
    3. Posts

    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!

    hwittenbornH Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 37
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Unable to upload Debian Package.

      Hey @mcascone, my previous comment was slightly incorrect - my testing showed that ProGet requires the first file in a Debian package to be debian-binary (see this commit I made in a project a while back).

      It looks like you're able to verify such is the case on a Debian archive by running the following on a Linux system:

      ar tf name-of-package.deb
      

      And the first line in the output should be debian-binary.

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: Unable to upload Debian Package.

      I know this is an old issue (no clue if it's still relevant), but I experienced this issue with a program I was working on a while back and I thought I'd post the fix I had here:

      If I recall correctly, ProGet thinks a deb is invalid when the first file in a .deb archive isn't control.tar.gz, or something like that. The main thing I remember is that I had to ensure files got added into the .deb archive in the correct order for ProGet to recognize it, and I'm assuming cargo-deb isn't doing that part correctly.

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: How to download private GPG key of an APT repository

      I'm pretty sure it's just due to Microsoft SQL's CLI cutting off the XML output @atripp, as the XML object would just be unfinished when viewing in my terminal.

      I'm gonna whip together a quick CLI to try to pull it out programmatically later today, and then I can let you know if it all works. I'm quite confident that's what's been causing my issue though.

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: How to download private GPG key of an APT repository

      I'm not sure how much it'll help, but this is the specific error I get from GPG:

      gpg: read_block: read error: Invalid packet
      gpg: import from '/dev/stdin' failed: Invalid keyring
      

      After some further looking it appears that the XML entries in FeedConfiguration_Xml just stop without a closing quote/bracket as well, are they supposed to?

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: How to download private GPG key of an APT repository

      I confirmed non of the environment variables were set @atripp, but after getting the GPG key running echo '{gpg_key}' | base64 -d | gpg --show-keys /dev/stdin is complaining about it being an invalid key.

      Is the GPG key in that part of the database just in some weird format or something?

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: How to download private GPG key of an APT repository

      @stevedennis: I'm running ProGet through the Docker images, do you know where I could fine the config in that? I haven't been able to find it anywhere inside of my container.

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: How to download private GPG key of an APT repository

      Do you know where I can find the configuration file @atripp?

      You mentioned that code to run too, but where should I put it if I want to run it? Is it like an extension I put in ProGet, or is it something I'd run manually on a command line?

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: How to download private GPG key of an APT repository

      It didn't look like there was anything in the UI to get the key out of my instance, so I started looking around in the database to see if I could find anything:

      I found the Feeds table which looked like it might contain the key in the SecretKeys field, but GPG isn't recognizing that as valid key if I put it into a file.

      Is there something I'm missing? I'm more than glad to do whatever I need to from the database manually if this isn't something that could be added to the UI in the near future.

      posted in Support
      hwittenbornH
      hwittenborn
    • How to download private GPG key of an APT repository

      I've got an APT repository on ProGet that uses a GPG key to sign the repository, but I'm needing to get the private key because I need to do some stuff with it locally.

      Where can I find the GPG key at? Looking through ProGet's data directory (on a Docker setup) isn't showing any GPG files.

      posted in Support
      hwittenbornH
      hwittenborn
    • CLI interface for ProGet

      Hi! I wasn't sure where I could really post about this, but I thought I'd send a message here in case it was of interest to anyone:

      I've made a CLI tool for ProGet, which internally is using the ProGet API. The tool can't do much right now - it can currently report status information of a server and upload .deb packages (it was a personal need).

      I'm wanting to add more features, but for anyone that would enjoy using the tool, I'm wanting to know if they have any specific things they'd like added.

      If there's any feedback that y'all would have, feel free to leave it in the GitHub repo :)

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: API docs for ProGet health information is incorrect

      Cool, thanks a ton for the quick response and getting the docs fixed! I'll send something in a new message if I get any other questions.

      posted in Support
      hwittenbornH
      hwittenborn
    • API docs for ProGet health information is incorrect

      Hi! I'm in the middle of writing up a Rust library for the ProGet API, and I noticed that the documentation for the health API isn't valid JSON.

      On another note while I'm mentioning the health API - is there any documentation on what the valid values for things like serviceStatus are? I'd love to make things like that enums instead of just a string when I parse the JSON into structs, but I wasn't positive on what the valid values were.

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: Unable to access https://proget.inedo.com

      The issue seems to be back now, would you guys be trying to get everything going again or something?

      My browser doesn't appear to be redirecting HTTP to HTTPS on the website, and the errors currently appear to be coming from my HTTP requests with 404 errors. Maybe things just need to be redirected to HTTPS in the webserver config?

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: Unable to access https://proget.inedo.com

      Seems to be working on my end now.

      posted in Support
      hwittenbornH
      hwittenborn
    • Unable to access https://proget.inedo.com

      Both my local computer and a server that's pulling ProGet's Docker images are having trouble connecting to https://proget.inedo.com with timeout errors while making the HTTP requests.

      Is this happening to anyone else?

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: What user should I use for PyPi uploads from Twine in a CI system when using Feed API keys?

      I just went ahead and recreated the key, and everything started working fine. I'm assuming something got messed up during the upgrade then, thought I can't really guarantee anything outside of what's working now.

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: What user should I use for PyPi uploads from Twine in a CI system when using Feed API keys?

      Yeah, this was all working before in ProGet v5. All of these issues were when I was changing things right after upgrading the other day.

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: What user should I use for PyPi uploads from Twine in a CI system when using Feed API keys?

      Hi! This is what I have for the key's configuration:

      6a688c02-1b7d-4166-ab3f-8154cd9ad146-image.png

      The key is set to allow access to all feeds, so there shouldn't be any issues there.

      I also tried the Pesonal format when I was testing it the other day, but I didn't get any luck out of it.

      posted in Support
      hwittenbornH
      hwittenborn
    • RE: What user should I use for PyPi uploads from Twine in a CI system when using Feed API keys?

      I had some automated Docker build attempt to get deployed a bit earlier as well, and those appear to have failed from an authentication issue as well. Maybe it's an issue with how I have my key set up?

      posted in Support
      hwittenbornH
      hwittenborn
    • What user should I use for PyPi uploads from Twine in a CI system when using Feed API keys?

      I've got a feed API key set up for deployments to a PyPi feed, but I can't figure out what user I should be using.

      I'm currently using the following command, but all it results in is 403s (${proget_api_key} and ${proget_server} are variables set in my deployment scripts):

      twine upload -u api -p "${proget_apt_key}" --repository-url "https://${proget_server}/pypi/python/legacy" dist/*
      
      posted in Support
      hwittenbornH
      hwittenborn
    • 1 / 1