Giter VIP home page Giter VIP logo

chocopackages's People

Contributors

corbob avatar jpluimers avatar

Watchers

 avatar  avatar

chocopackages's Issues

Fix issues raised after initial 1.24.1 submission to Chocolatey

Chocolatey has made the rules more strict, so the initial Wayback/Archive 1.24.1 submission failed for these Guidelines (that despite their title seem** to be sort of mandatory):

  1. ProjectUrl and ProjectSourceUrl are typically different, but not always. Please ensure that projectSourceUrl is pointing to software source code or remove the field from the nuspec. More...
  2. Title (title) matches id exactly. Please consider using something slightly more descriptive for the title in the nuspec. More...

The odd thing is that 1. is a stub at Wayback/Archive CPMR0041 - PROJECTSOURCEURL MATCHES PROJECTURL (NUSPEC)

Luckily, 2. is easier as Wayback/Archive CPMR0050 - TITLE MATCHES ID (NUSPEC) is not a stub.

Edit

Wayback/Archive PACKAGE VALIDATOR RULES shows the NON UPPPERCASE RULE NAMES so they are more readable and indicate all rules are phrased in the "what fails now" style (as opposed to the "how to fix this"). Which makes the above read as:

  1. Wayback/Archive CPMR0041 - ProjectSourceUrl Matches ProjectUrl (nuspec)
  2. Wayback/Archive CPMR0050 - Title Matches Id (nuspec)

That makes it way easier to fix both:

  1. can be fixed by making ProjectSourceUrl and ProjectUrl two different values in both glab.nuspec and glab.portable.nuspec
  2. can be fixed by making Title and Id two different values in both glab.nuspec and glab.portable.nuspec (it is already different in glab.portable.nuspec but making the same change in both is good for consistency).

A start:

  1. Is hard as it is hard to find the various fields in the Chocolatey .nuspec file mean as it is derived from .nuspec File Reference for NuGet | Microsoft Learn with quite relaxed specifications in NuGet.Client/nuspec.xsd at dev · NuGet/NuGet.Client (which indicates all fields are camelCase instead of the PascalCase that are suggested from the above documentation links..

  2. Is easy as glab - GitLab command line tool names it GLab, so each occurence of glab in Title fields can become GLab:

    GLab is an open source GitLab CLI tool bringing GitLab to your terminal next to where you are already working with git and your code.


** I was wrong on that as according to Rob Reynolds this is the order of steps:

Each stage has to be passed to move to the next:

  1. Validation - quality checks - nuspec, files, etc
  2. Verification - test installation, etc
  3. Virus Scanning - check for vulnerabilities
  4. Human Review OR Trusted Package

All of that is done for each version of every pkg

Though I kind of expected something after this step to appear like "pending" or "succeeded":

chocolatey-ops (reviewer)
glab has passed automated virus scanning.
on 08 Dec 2022 08:26:08 +00:00:

(especially since the last line ends in a colon)

Anyway: since the Guidelines eventually need finishing, I'll keep working on a pull-request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.