httpie-cli/docs/packaging/brew
Mickaël Schoentgen 419427cfb6
Update downstream files for HTTPie 2.6.0 (#1186)
* Update Alpine package

* Add charset-normalizer deps for Alpine

It currently does not exist. We will need to add it ourselves.

* Update Gentoo package

* Update Brew formula

* Update MacPorts port

* Fix Gentoo deps

* Update examples

* Update Void Linux package

* Update Void Linux commands

* Update Chocolateur package

* Review DEbian packaging details

* Simplify Void Linux package

* Update more packages

* Update summary everywhere

* Remove temporary file

* Update Chocolatey package URL

* Updates

* Update Spack
2021-10-19 10:18:35 +02:00
..
brew-deps.py Add documentation about our release process (#1159) 2021-10-06 16:45:44 +02:00
httpie.rb Update downstream files for HTTPie 2.6.0 (#1186) 2021-10-19 10:18:35 +02:00
README.md Update downstream files for HTTPie 2.6.0 (#1186) 2021-10-19 10:18:35 +02:00

HTTPie on Homebrew, and Linuxbrew

Welcome to the documentation about packaging HTTPie for Homebrew.

  • If you do not know HTTPie, have a look here.
  • If you are looking for HTTPie installation or upgrade instructions on Homebrew, then you can find them on that page (that one for Linuxbrew).
  • If you are looking for technical information about the HTTPie packaging on Homebrew, then you are in a good place.

About

This document contains technical details, where we describe how to create a patch for the latest HTTPie version for Homebrew. They apply to Linuxbrew as well. We will discuss setting up the environment, installing development tools, installing and testing changes before submitting a patch downstream.

Overall process

🚧 Work in progress.

First, update the current Formula:

make brew-deps
# Copy-paste content into downstream/mac/brew/httpie.rb
git add downstream/mac/brew/httpie.rb
git commit -s -m 'Update brew formula to XXX'

That GitHub workflow will test the formula when downstream/mac/brew/httpie.rb is changed in a pull request.

Then, open a pull request with those changes to the downstream file.

Hacking

🚧 Work in progress.