From c4f571a305275e423baeddd5ee6459e61eb069a6 Mon Sep 17 00:00:00 2001 From: BigOokie <36015380+BigOokie@users.noreply.github.com> Date: Mon, 29 Jul 2019 12:51:12 +1000 Subject: [PATCH 1/7] Update Readme.md with alternate testing process --- README.md | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4175fb5..fcdc3d4 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,35 @@ brew install skycoin-cx # Testing changes The following process can be used to test changes made to formula: 1. Ensure the target formula has already been installed on your system. I will use `skycoin-cx` to demonstrate. -2. Fork this repo on Github and clone it locally to your machine. +2. Fork the repo on Github and clone it locally to your machine. 3. Create a new branch for your changes. 4. Make your changes to the target formula and commit them. +5. At this point you can choose to either test from your own repo - which is probably the easist, or test using localised insall. + - [Repo based testing](#repo-based-testing) + - [Localise testing](#localised-testing) + +## Repo based testing +5. Push the changes back to your repo - this is where we will test from. +6. Uninstall `skycoin-cx` (and any other formula from the Skycoin tap): +```bash +brew uninstall skycoin-cx +``` +7. Untap `Skycoin`: +```bash +brew untap skycoin/skycoin +``` +8. Tap your development repo +```bash +brew tap bigookie/homebrew-skycoin +``` +9. Install `skycoin-cx` from your test repo +```bash +brew install skycoin-cx +``` + +[Go to Tests Completed](#tests-completed) + +## Localised testing 5. Change directory into the skycoin-cx Homebrew ```sh cd $(brew --repo skycoin/homebrew-skycoin)/Formula @@ -43,7 +69,8 @@ brew fetch skycoin-cx brew install -vsd --git skycoin-cx ``` -All going well, you should have just installed the updated version based on the new formula. If that is the case, submit a PR with your changes to the team for further review. If you encounter issue, repeat the process above until you are able to successfully install the based on the udpated version. +## Tests completed +All going well, you should have just installed the updated version based on the new formula. If that is the case, submit a PR with your changes to the team for further review. If you encounter issue, repeat the selected process above until you are able to successfully install the based on the udpated version. Contact: contact@skycoin.net From 7fd5fa6ae4460654efe21f788595850654624450 Mon Sep 17 00:00:00 2001 From: BigOokie <36015380+BigOokie@users.noreply.github.com> Date: Mon, 29 Jul 2019 12:51:21 +1000 Subject: [PATCH 2/7] Update changelog --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e84a09..349fdd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Updates 2019/07 + +### Added +- Update Skycoin-cx formular for release [v0.7.1](https://github.com/skycoin/cx/releases/tag/v0.7.1) + +### Fixed + +### Changed + +### Removed + ## Updates 2019/06 ### Added From c4ffa6871d9ad24febdfd8f41e9b72915c6a3b55 Mon Sep 17 00:00:00 2001 From: BigOokie <36015380+BigOokie@users.noreply.github.com> Date: Mon, 29 Jul 2019 12:51:41 +1000 Subject: [PATCH 3/7] Update skycoin-cx for 0.7.1 release --- Formula/skycoin-cx.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/skycoin-cx.rb b/Formula/skycoin-cx.rb index 633b758..d1fc753 100644 --- a/Formula/skycoin-cx.rb +++ b/Formula/skycoin-cx.rb @@ -23,9 +23,9 @@ class SkycoinCx < Formula desc "Skycoin CX is a general programming language based on affordances" homepage "https://github.com/skycoin/cx" - url "https://github.com/skycoin/cx/releases/download/v0.7.0/cx-0.7.0-bin-macos-x64.zip" - version "0.7.0" - sha256 "20209b50054e453d87f738225f9d3830d89884366a7c391fdbbc5dfc3fe85ee8" + url "https://github.com/skycoin/cx/releases/download/v0.7.1/cx-0.7.1-bin-macos-x64.zip" + version "0.7.1" + sha256 "b8a9262696bd64b583dbd70f47fab3994a50a31a16bab1fbfcf5e151247ea3c4" bottle :unneeded From 84321e3ae9a4b77fd0e29c6b65e4f1a8f461a3b4 Mon Sep 17 00:00:00 2001 From: BigOokie <36015380+BigOokie@users.noreply.github.com> Date: Mon, 29 Jul 2019 12:53:36 +1000 Subject: [PATCH 4/7] Update URL used by test process --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fcdc3d4..791e1bf 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,9 @@ brew untap skycoin/skycoin ```bash brew tap bigookie/homebrew-skycoin ``` -9. Install `skycoin-cx` from your test repo +9. Install `skycoin-cx` from your test repo branch. You will need to locate the raw URL for the required fomula file in GitHub ```bash -brew install skycoin-cx +brew install brew install https://raw.githubusercontent.com/BigOokie/homebrew-skycoin/cx-v0.7/Formula/skycoin-cx.rb ``` [Go to Tests Completed](#tests-completed) From 4859d134a553374f11b67c6dfcfb1192eb196009 Mon Sep 17 00:00:00 2001 From: BigOokie <36015380+BigOokie@users.noreply.github.com> Date: Mon, 29 Jul 2019 12:56:19 +1000 Subject: [PATCH 5/7] Update readme with minor cleanup steps --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 791e1bf..3ad5749 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ brew tap bigookie/homebrew-skycoin ```bash brew install brew install https://raw.githubusercontent.com/BigOokie/homebrew-skycoin/cx-v0.7/Formula/skycoin-cx.rb ``` +10. To clean-up, just follow the reverse process to uninstall your development formula and untap your development repo. [Go to Tests Completed](#tests-completed) From 8f1ebc2f86a4709c2de38dbb79438ab165c1583c Mon Sep 17 00:00:00 2001 From: BigOokie <36015380+BigOokie@users.noreply.github.com> Date: Mon, 29 Jul 2019 12:59:37 +1000 Subject: [PATCH 6/7] Update changelog to reflect changes made to readme --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 349fdd6..1728c71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed ### Changed +- Updated the processes that can be used for testing Homebrew formula in README.md ### Removed From eb7508ec791a8ccafdbee290077db75169c38581 Mon Sep 17 00:00:00 2001 From: BigOokie <36015380+BigOokie@users.noreply.github.com> Date: Wed, 31 Jul 2019 09:48:50 +1000 Subject: [PATCH 7/7] Correct typos and update references to skycoin/skycoin --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 02181fd..55064e3 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,10 @@ Homebrew formulae for installing Skycoin projects and dependencies on OS X. # Usage Use the following commands to Tap the Homebrew repository +**Note:** Homebrew drops the `homebrew-` prefix from the GitHub Repo - so `skycoin/homebrew-skycoin` can be referred to as `skycoin/skycoin` and will appear as such once tapped. ```sh -brew tap skycoin/homebrew-skycoin +brew tap skycoin/skycoin ``` Then install any of [available Formulae](https://github.com/skycoin/homebrew-skycoin/tree/master/Formula). @@ -25,27 +26,27 @@ The following process can be used to test changes made to formula: 2. Fork the repo on Github and clone it locally to your machine. 3. Create a new branch for your changes. 4. Make your changes to the target formula and commit them. -5. At this point you can choose to either test from your own repo - which is probably the easist, or test using localised insall. +5. At this point you can choose to either test from your own repo - which is probably the easiest, or test using localised install. - [Repo based testing](#repo-based-testing) - [Localise testing](#localised-testing) ## Repo based testing 5. Push the changes back to your repo - this is where we will test from. 6. Uninstall `skycoin-cx` (and any other formula from the Skycoin tap): -```bash +```sh brew uninstall skycoin-cx ``` 7. Untap `Skycoin`: -```bash +```sh brew untap skycoin/skycoin ``` 8. Tap your development repo -```bash -brew tap bigookie/homebrew-skycoin +```sh +brew tap bigookie/skycoin ``` -9. Install `skycoin-cx` from your test repo branch. You will need to locate the raw URL for the required fomula file in GitHub -```bash -brew install brew install https://raw.githubusercontent.com/BigOokie/homebrew-skycoin/cx-v0.7/Formula/skycoin-cx.rb +9. Install `skycoin-cx` from your test repo branch. You will need to locate the raw URL for the required formula file in GitHub +```sh +brew install https://raw.githubusercontent.com/BigOokie/homebrew-skycoin/cx-v0.7/Formula/skycoin-cx.rb ``` 10. To clean-up, just follow the reverse process to uninstall your development formula and untap your development repo. @@ -71,7 +72,7 @@ brew install -vsd --git skycoin-cx ``` ## Tests completed -All going well, you should have just installed the updated version based on the new formula. If that is the case, submit a PR with your changes to the team for further review. If you encounter issue, repeat the selected process above until you are able to successfully install the based on the udpated version. +All going well, you should have just installed the updated version based on the new formula. If that is the case, submit a PR with your changes to the team for further review. If you encounter issue, repeat the selected process above until you are able to successfully install the based on the updated version. Contact: contact@skycoin.net