Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 00:37
    loic-sharma synchronize #694
  • 00:37

    loic-sharma on v2

    Push more logic to mirror servi… (compare)

  • 00:30
    loic-sharma opened #694
  • 00:27

    loic-sharma on v2

    Start (compare)

  • Sep 26 23:20

    loic-sharma on v2

    (compare)

  • Sep 25 21:57

    loic-sharma on main

    Allow app settings to overwrite… (compare)

  • Sep 25 21:57
    loic-sharma closed #654
  • Sep 25 21:57
    loic-sharma closed #653
  • Sep 25 20:11

    loic-sharma on gh-codespace

    (compare)

  • Sep 25 20:11

    loic-sharma on main

    Enable GitHub Codespace develop… (compare)

  • Sep 25 20:11
    loic-sharma closed #693
  • Sep 25 20:10
    loic-sharma edited #693
  • Sep 25 20:10
    loic-sharma edited #693
  • Sep 25 19:26
    loic-sharma opened #693
  • Sep 25 19:14

    loic-sharma on gh-codespace

    Add dev container (compare)

  • Sep 25 18:01

    loic-sharma on gh-codespace

    Fix launch settings (compare)

  • Sep 25 17:48
    loic-sharma synchronize #667
  • Sep 25 17:48
    loic-sharma synchronize #667
  • Sep 25 17:48
    loic-sharma synchronize #667
  • Sep 25 17:32
    loic-sharma opened #692
Michael Bisbjerg
@LordMike
Essentially, two seperate pages.
Search results would link to a specific type / member on the "view source" pages.
Loïc Sharma
@loic-sharma
Okay that makes sense
I’m really liking the Roslyn source browser. I think that indexing all of NuGet.org using that would be a huge win for the community
I want to make sure that whatever solution we go with works for both small and large feeds
Michael Bisbjerg
@LordMike
I would go for this then:
  • On upload, the package is indexed with all types / members, for search
    • It will contain stuff like: Name, Type Name (containing type), Type of member (Property, ..), Full Name, Documentation if possible
  • On first view of the source code (linked from a search result, or by the user visiting "show sources"), the Source pages are generated using the Roslyn thingamajig.
This way, we don't generate humongous unecessary source code dumps for packages that will never be viewed (I'm thinking of CI output here), while still maintaining a bare minimum for searching.
It should be that you can use the search page and find types or members, without every viewing the source pages, ie. it should be possible to get what you need from the search alone.. An "ah, that's the name I was looking for" result.. :)
Soier646
@Soier646
Hi. Is there are any way to use address like: http://localhost:5000/subfolder/ instead of http://localhost:5000
Loïc Sharma
@loic-sharma
Hey @Soier646, you can but it's not very easy. You should be able to set the PathBaseconfiguration to "subfolder"
I think the UI will be broken though...
Serhii Kuzmychov
@ku3mich

I think the UI will be broken though

no, if properly set up the "homepage": "." setting in package.json

thoscut
@thoscut
Hi, I was wondering what's the reason for MultipartBodyLengthLimit beeing set to int.MaxValue instead of int64.MaxValue as this seems to limit the max package size to about 2GB?
Loïc Sharma
@loic-sharma
Oh that’s a good question
I think that’s just because no one has tried to upload a package that was bigger than 2gigs yet :g
:) *
Do you need to increase the max value?
thoscut
@thoscut
That would be great, I have a 10gb file
There has been already an issue on this topic (loic-sharma/BaGet#191)
thoscut
@thoscut
I validated that an change to 20gb is working. The file was put fine.
Ashkan Rahmani
@ashkanRmk
Hi every body!
Is there any news about when does private feed branch release?
Ashkan Rahmani
@ashkanRmk
Is there anybody to answer me?!!
Loïc Sharma
@loic-sharma
Hey, I haven’t had a chance to work on the private feed branch
It’s still something I’d like to do!
Ashkan Rahmani
@ashkanRmk
what's the best (free) solution to have a private feed? because it's very essential...
Loïc Sharma
@loic-sharma
There are none as far as I’m aware
Ashkan Rahmani
@ashkanRmk
:/
how about github package registry?
is that a good solution?
Loïc Sharma
@loic-sharma
Ah it looks like GitHub’s package registry lets you do private feeds for free actually. I haven’t tried it myself, so I don’t know if it’s any good
If you try it, I’d love to hear what you think of it
Ashkan Rahmani
@ashkanRmk
I will try it and tell you about it...
thanks a lot for your help
Loïc Sharma
@loic-sharma
Yup of course :smile:
Aurélien
@adhermy
Hi :)
I am trying to implement Baget at work, so far it works on our kubernetes cluster using PersistanVolumeClaim but for cost i would like to use GCS. I saw on your doc that it's possible, but i tried stuff and it doesn't work. First i don't see any use of the baget.env values in the container.
Is there something that catches the env values to write them up on appsettings.json? because nothing seems to moves even though the env values are correctly updated.
Loïc Sharma
@loic-sharma
Hey @adhermy, the default ASP.NET Core configuration system reads configs from command line arguments, environment variables, and the appsettings.json file. See this documentation: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-2.2#default-configuration
When you run the docker image, do you pass the environment file using the --en-file baget.env option?
Aurélien
@adhermy
I use kubernetes configmap to replace appsettings.json
Aurélien
@adhermy
New problem now : Please check the value of the Environment Variable GOOGLE_APPLICATION_CREDENTIALS ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/app/'
The env var is correctly setted though, with the exact content of the json i've generated for the service account, i'm a bit puzzled
Aurélien
@adhermy
Okay found the problem. Baget expect a path in GOOGLE_APPLICATION_CREDENTIALS and not the credentials themselves
Aurélien
@adhermy
I've succeeded to deploy my stack :) But now our windows servcer doesn't see the packages available using Chocolatey
Loïc Sharma
@loic-sharma
Ah, I believe that Chocolatey uses legacy NuGet V2 APIs, which BaGet doesn't support
Loïc Sharma
@loic-sharma
Yes, that seems to be the case. See: chocolatey/chocolatey.org#664
Aurélien
@adhermy
Okay i see. Thank you :)
Fabian Grutschus
@fabiang
Hello everyone. I'm planing to serve BaGet via HTTPS. I need a proxy like Nginx to archive that, right? I don't see any enviroment variables to define a certifcate (and key). Thanks in advance
Loïc Sharma
@loic-sharma
Hi, you should be able to use the Kestrel configurations to set an HTTPS certificate. See the "Replace the default certificate from configuration" section here: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-2.2#listenoptions-usehttps