GithubHelp home page GithubHelp logo

yyu / choco-packages Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ross-desmond/choco-packages

0.0 3.0 0.0 10.44 MB

Chocolatey package configurations for upstream dependencies

CMake 24.60% PowerShell 75.40%

choco-packages's Introduction

Chocolatey Packages for ROS2 Dependencies

This repository houses some basic Chocolatey packages for ROS2 external dependencies. Currently TinyXML and Eigen 3.

Installing packages

You'll need Chocolatey installed. They have an installation guide that you can follow. Chocolatey recently announced a Pro version. The pro version is not necessary to install the packages created here.

These packages can be installed by downloading the desired packages and specifying the path to the package with choco install.

From a Windows command prompt or PowerShell console with Administrator privileges:

choco install Downloads\eigen-3.3.3.nupkg

Building packages

Each of the packages has a manual build process outlined in the package specific README file. The instructions there should get you started.

Uploading packages

The packages here don't get uploaded to a central repository, instead they're published using GitHub Releases.

To upload a new release, follow these general steps:

  • Make any desired changes to the package contents. The contents are not version controlled by this repository and Chocolatey lacks the concept of a package revision as far as I can discern, so these changes are not tracked here. If you have an update that consists only of altered package contents, create an empty commit describing the change. For example
git commit --allow-empty -m "Rebuild TinyXML for 64-bit Windows."
  • Make any updates to the package configuration and commit the changes.

  • Create a git tag in order to publish your new package version.

git tag 2017-03-21-1
  • Push your changes and the new tag to GitHub
git push
git push --tags
  • Open the tag on the GitHub releases view and attach your package as a binary.

  • Check the previous release and download the other packages from it.

  • Attach all other packages as binaries to your release.

In order for every package user to have the same url prefix for their downloads, every nupkg file needs to be added to each release. This is the chief caveat of the single-repository approach. But if the number of packages or revisions begins to climb,it's a signal that we should revisit automating this process better.

  • Publish the release. The Pre-release option is unset by default but if you're tempted to set it, bear in mind that prereleases don't update the "latest" release alias.

choco-packages's People

Contributors

nuclearsandwich avatar

Watchers

 avatar  avatar  avatar

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.