GithubHelp home page GithubHelp logo

tapika / swupd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chocolatey/choco

4.0 4.0 0.0 50.77 MB

Chocolatey - the package manager for Windows

Home Page: https://chocolatey.org

License: Apache License 2.0

Shell 0.01% PowerShell 2.02% C# 97.78% Batchfile 0.04% Rich Text Format 0.12% Smalltalk 0.02% C++ 0.01%

swupd's People

Contributors

admiringworm avatar andmos avatar annih avatar asizikov avatar bc3tech avatar christianrondeau avatar cubix651 avatar darwinjs avatar dragon788 avatar dtgm avatar easybe avatar ferventcoder avatar gep13 avatar grv87 avatar jaykul avatar jbuedel avatar jirkapok avatar lebdron avatar mkevenaar avatar mwrock avatar pascalberger avatar pauby avatar richicoder1 avatar smspillaz avatar splatteredbits avatar tapika avatar thecakeisnaoh avatar tirolo avatar tmsns avatar tragiccode avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

frankray78

swupd's Issues

The term 'Get-WmiObject' is not recognized as the name of a cmdlet, while installing dotnetcore

While running command:

choco install dotnetcore-runtime

Following choco packages fails to install:

...
KB2919442 v1.0.20160915 [Approved]
kb2919442 package files install completed. Performing other installation steps.
Progress: 100% - Getting formatting and output information from remote session ... 115 objects received                                              ERROR: The term 'Get-WmiObject' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
The install of kb2919442 was NOT successful.
Error while running 'D:\Projects\swupd_develop4\bin\netcoreapp3.1-RelWithDebInfo\lib\KB2919442\tools\ChocolateyInstall.ps1'.
 See log for details.

KB2919355 v1.0.20160915 [Approved]
kb2919355 package files install completed. Performing other installation steps.
Progress: 100% - Getting formatting and output information from remote session ... 115 objects received                                              ERROR: The term 'Get-WmiObject' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
The install of kb2919355 was NOT successful.
Error while running 'D:\Projects\swupd_develop4\bin\netcoreapp3.1-RelWithDebInfo\lib\KB2919355\tools\ChocolateyInstall.ps1'.
 See log for details.
...

Chocolatey GUI - installation

So far Chocolatey GUI was installed either via choco itself, see for example in here:

https://github.com/chocolatey/ChocolateyGUI#installation

Or using Wix installer building

https://github.com/chocolatey/ChocolateyGUI#building

Where releases in a turn contain .msi package:

https://github.com/chocolatey/ChocolateyGUI/releases

To be able to install .net framework, which application itself requires.

At the moment choco (swupd fork) can be run as standalone application, without requiring to install .net framework.

One approach is just show where to install and perform "choco install" into end-user selected folder.

This maybe requires some deeper knowledge on what is placed in registry itself (For example wix installer behavior)

Second approach is just to use 'choco install chocolateyGUI' to make initial deployment of choco + gui to PC.

Something to consider:

  • If choco is used for updating application, and user decides to cancel software update in a middle of update - to what state installer should return to ?

    • Wipe out old and new application - will installer (~choco) itself be preserved somewhere, where ?
    • preserve old version and waste some time for software update cancelling
  • At the moment Chocolatey GUI requires choco installation. Could there be just one installation ?

Can you please review the notification sections from Travis and AppVeyor config files

Leaving these as they currently are is causing notifications to be sent to our email address when you run builds.

Specifically, I am requesting that this lines be removed:

swupd/.travis.yml

Lines 12 to 20 in c1ffde1

notifications:
email:
- [email protected]
webhooks:
urls:
- https://webhooks.gitter.im/e/bd7909ec077be3f8873e
on_success: change
on_failure: always
on_start: false

swupd/appveyor.yml

Lines 29 to 41 in c1ffde1

notifications:
- provider: Email
to:
- [email protected]
subject: AppVeyor - swupd Build Notification
on_build_success: false
on_build_failure: true
on_build_status_changed: true
- provider: Webhook
url: https://webhooks.gitter.im/e/ef0d02785675d16d0cad
on_build_success: true
on_build_failure: true
on_build_status_changed: true

Code coverage reporting to coverall is not working

See build for example:

https://github.com/tapika/swupd/actions/runs/3371837993/jobs/5594562127

========================================
upload_coverage_results
========================================
runId: 3371837993, branchRef: develop, commitId: ec0f792662bdb10498bf1090b30357baf3a1d4c2
...
'
Uploading coverage report Cobertura.xml to coveralls.io...
Executing: "D:/a/swupd/swupd/tools/coveralls.io.1.4.2/tools/coveralls.net.exe" --cobertura "D:/a/swupd/swupd/build_output/build_artifacts/codecoverage/Html/Cobertura.xml"
Error BadRequest sending to coveralls.io: Bad Request
 - Error code 422 indicate a problem with your token. Use the --debug option for more details.

Raised issue in right repo: coveralls-net/coveralls.net#49

Not sure if it will be fixed, ~4-5 years since last change.

choco - proper cleanup after install, upgrade, uninstall

There are several issues with clean up in choco.

  1. %TEMP%\NuGetScratch
    When installing / upgrading & uninstalling - zips being processed are extracted into temporary folder and remains in there.
    choco itself has a guard mechanics related to this, for example there exists function remove_nuget_cache - but this would not work if choco is used as nuget package. And even from cli it does not work for some reason, haven't analyzed in depth.

Same or similar issue is also reported in Chocolatey #837

Originally nuget has also API for clean up NuGetScratch, like OptimizedZipPackage.PurgeCache(), but it's not used.
Same issue persists also for integration tests, chocolatey's CacheLocation does not seems to override %TEMP%\NuGetScratch folder.

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.