Git Product home page Git Product logo

Comments (10)

vedantmgoyal2009 avatar vedantmgoyal2009 commented on June 4, 2024 1

image another edge case: versions with spaces in them cannot be uploaded by komac itself, though the write option works fine

Ohkay, so this is the bug that fails some of the winget-releaser runs but we were unable to get the root cause till now. Thanks @superusercode

from komac.

superusercode avatar superusercode commented on June 4, 2024

I can break this up into separate issues if necessary, but overall making sure the manifest is valid would help. I should note that the yaml extension in vscode didn't catch the "Accidentally using the same architecture twice (and having no other differences between the two versions).", so just using a yaml checker wouldn't necessarily catch everything. It took the pipeline to catch that.

from komac.

russellbanks avatar russellbanks commented on June 4, 2024

Thanks for reporting! These are all things that can be fixed - I'll address them individually as I work on them

from komac.

russellbanks avatar russellbanks commented on June 4, 2024

Github Release release notes uses a lot of colons and other weird formatting, and gets copied to the release notes field verbatim.

The release notes do get formatted lots in GitHubExtensions.kt as Komac receives it from GitHub in Markdown/HTML. Those release notes are a little odd in the sense of emojis and zalgo text but in terms of making it plain for a manifest, it's what I'd expect. How do you think it should be different/better?

from komac.

russellbanks avatar russellbanks commented on June 4, 2024

Doesn't update product code if it explicitly matches the manifest the updater used to build the new one

I've added updating for the product code version number the same way it is for Display Version ARP Entries etc

from komac.

superusercode avatar superusercode commented on June 4, 2024

How do you think it should be different/better?

I think if it's detected as causing the manifest to break then it shouldn't be included. The submitter will have to step in either way to adjust it and put it in right.

from komac.

superusercode avatar superusercode commented on June 4, 2024

Another edge case that came up is showing the detected version in dialogue like wingetcreate does as there are some packages that use the detected versioning instead of the actual/advertised version. When updating this package I had to use wingetcreate new to find the version then switch back to komac to make the update.

i.e. https://github.com/microsoft/winget-pkgs/pull/107192/files#diff-ce022bae9f1f6ad3433166cd8c2c7a5325f2500f80460f3559008683cc0cfd33R5-R19

from komac.

superusercode avatar superusercode commented on June 4, 2024

image
another edge case: versions with spaces in them cannot be uploaded by komac itself, though the write option works fine

from komac.

russellbanks avatar russellbanks commented on June 4, 2024

How do you think it should be different/better?

I think if it's detected as causing the manifest to break then it shouldn't be included. The submitter will have to step in either way to adjust it and put it in right.

It doesn't look like that's what caused the pipelines to fail; it would have just needed re-running. The pipelines have a lot of one-off issues like that

The same thing happened in microsoft/winget-pkgs#107215. I added the release notes back in a separate PR and it worked just fine.

The only validation that I believe happens with release notes is checking that it's < 10,000 characters

from komac.

superusercode avatar superusercode commented on June 4, 2024

that makes sense, I was wondering since github's syntax highlighting when editing on the web is really weird with manifests like that

from komac.

Related Issues (20)

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.