simple-nuget-server | A very simple PHP NuGet server | DevOps library

 by   Daniel15 PHP Version: Current License: MIT

kandi X-RAY | simple-nuget-server Summary

kandi X-RAY | simple-nuget-server Summary

simple-nuget-server is a PHP library typically used in Devops applications. simple-nuget-server has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A very simple NuGet server for my personal use, similar to [NuGet.Server] but in PHP. Designed for scenarios where a single user (ie. a person or a build server) pushes packages.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              simple-nuget-server has a low active ecosystem.
              It has 117 star(s) with 43 fork(s). There are 9 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 11 open issues and 12 have been closed. On average issues are closed in 118 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of simple-nuget-server is current.

            kandi-Quality Quality

              simple-nuget-server has 0 bugs and 0 code smells.

            kandi-Security Security

              simple-nuget-server has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              simple-nuget-server code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              simple-nuget-server is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              simple-nuget-server releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              simple-nuget-server saves you 328 person hours of effort in developing the same functionality from scratch.
              It has 788 lines of code, 34 functions and 13 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed simple-nuget-server and discovered the below as its top functions. This is intended to give you an instant insight into simple-nuget-server implemented functionality, and help decide if they suit your requirements.
            • Add entry meta data
            • Search packages by name
            • Delete a package version
            • Create tables .
            • Get packages updates .
            • Add a feed entry
            • Render the dependencies .
            • Parse the ORDER BY clause .
            • Start the feed
            • Adds metadata to an entry .
            Get all kandi verified functions for this library.

            simple-nuget-server Key Features

            No Key Features are available at this moment for simple-nuget-server.

            simple-nuget-server Examples and Code Snippets

            No Code Snippets are available at this moment for simple-nuget-server.

            Community Discussions

            QUESTION

            My NuGet package doesn't seem to update in projects that use it as a dependency
            Asked 2019-Jan-22 at 17:24

            Forgive what must be a very simple oversight on my part but I simply cannot get this to work as expected.

            I am building a .NET Framework 4.6 Class Library that needs to be downloaded by other applications from a private nuget repository. Here is my process:

            1. I have a test project, ConsoleApp5. It has a simple main function in it.
            2. I download my NuGet package, MyPackage (right click on project and click Manage NuGet Packages, select appropriate repo and package, click install.)
            3. I run my test. In this case, I'm simply trying to instantiate a class, something not difficult. I'm getting an error about class accessibility.
            4. Back in MyPackage, I replace all instances of the word protected with public. I add a new class as well by right-clicking on the project, selecting Add Item, targeting a class and giving it the name TestClass.
            5. I go to Project > MyPackage Properties... > Application (tab) > Assembly Information, and I manually update the version patch number by one. So now it is 1.0.5.
            6. I go to the project directory in the Developer Command Line and run the following command: C:\Users\jptak\Downloads\nuget.exe pack -Version 1.0.5
            7. Then I run the following command to push the update (Success message: Your package was pushed.): C:\Users\jptak\Downloads\nuget.exe push MyPackage.1.0.5.nupkg MySecretCodeGoesHere -src http://my.nuget.server.goes.here.com
            8. I go back to ConsoleApp5, Manage NuGet Packages, see the update in the appropriate package, and click the update arrow. The download completes and the new version number is there.
            9. I go to use new classes or check that old errors are fixed and all of my tests fail. TestClass is not there.

            This leads me to believe that the code I am writing is not making it to the NuGet server. Does anyone know what I am missing from this process to make the most recent version of the code get updated on the server?

            This process is foreign to me as I am not a .NET developer (I work with PHP mostly).

            Here are some more pieces of information about my IDE settings:

            • In Build > Configuration Manager... > Debug has been switched to Release
            • I have tried building, rebuilding, and cleaning my project. I haven't seen that any of these processes has had any effect on the code being pushed at all.

            Here is the code from my ConsoleApp5:

            ...

            ANSWER

            Answered 2019-Jan-22 at 17:08

            Bit long for a comment, not exactly an answer but here we go:

            So top debugging tips for NuGet packages are:

            • Download the package manually. A .nupkg file is just a zip file that can be opened with 7Zip or any other archive tool.

            • Once inside you can inspect both the .nuspec file that has been used to pack the package, and inside the lib folder are the dlls that have been supplied.

            • A decompiler like DotPeek or ILSpy can be used on the dll to see exactly what is going on inside the dll.

            Possible causes of your symptoms could include the NuGet server giving a false success, or your application failing to update the package and still refering to the old one.

            Source https://stackoverflow.com/questions/54312992

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install simple-nuget-server

            For a Debian-based distro (including Ubuntu), installation is something along the lines of what I’ve written below. Installation using other Linux distributions will vary but it should be pretty similar.
            A web server (Nginx, Apache, Cherokee, etc.)
            PHP 5.4+ or HHVM
            SQLite, XML, and Zip extensions (bundled with HHVM, or apt-get install php5-sqlite for PHP 5, or apt-get install php7.0-sqlite php7.0-xml php7.0-zip for PHP 7)

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Daniel15/simple-nuget-server.git

          • CLI

            gh repo clone Daniel15/simple-nuget-server

          • sshUrl

            git@github.com:Daniel15/simple-nuget-server.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular DevOps Libraries

            ansible

            by ansible

            devops-exercises

            by bregman-arie

            core

            by dotnet

            semantic-release

            by semantic-release

            Carthage

            by Carthage

            Try Top Libraries by Daniel15

            RouteJs

            by Daniel15C#

            Kohana-Membership

            by Daniel15PHP

            BuildSize

            by Daniel15PHP

            dnstools

            by Daniel15TypeScript

            JSPool

            by Daniel15C#