Repository navigation
brew package - #12688
brew package#12688
Conversation
|
Heads up! This PR modifies the following files:
|
| if not path.exists(new_path): | ||
| shutil.copyfile(f, new_path) | ||
| for dylib in need_relinked: | ||
| if '/System/Library' in dylib or '/usr/lib' in dylib or 'servo' in dylib: |
There was a problem hiding this comment.
I don't understand why 'servo' in dylib was here in the first place.
| echo $tmp_dir | ||
|
|
||
| echo "Cloning" | ||
| git clone https://github.com/paulrouget/homebrew-servo |
There was a problem hiding this comment.
I would much rather just include the necessary files directly in the servo repo.
There was a problem hiding this comment.
To clarify, considering homebrew uses git repos as package repos, I would include the servo-bin.rb.in file in the servo repo, and push the rendered nightly versions to another repo.
60fc91c to
60a0244
Compare
|
Comments addressed. |
|
I can't really fully test until it's deployed, but that should do it. Ready for review. |
|
Will do today, thanks for doing this! On Aug 8, 2016, at 10:51 PM, Paul Rouget [email protected] wrote: I can't really fully test until it's deployed, but that should do it. Ready for review. — |
|
@paulrouget Is the idea that we would get this landed and have the git pushes failing, and then add a token to the environment on the saltfs side of things for the homebrew-servo repository? Right now, we don't have such a GH token in place that we could use, but I can do a follow-up PR to saltfs and push out the token secret to the builders after this lands. Otherwise, I'm fine with these changes. |
|
@larsbergstrom I'm not sure in which order this should be done. I don't really know how tokens work. I guess we need something like github.com/servo/doc.servo.org. |
|
@bors-servo r+ OK, lets go ahead and get this in there, and either @edunham or I can follow up with the bits to handle a GH token and uploads on the salt side. Expect the publishing rules to fail until that happens. |
|
📌 Commit 7981297 has been approved by |
brew package Addressed #12600 This is just a WIP PR to see if this approach is right. The same way night builds are uploaded every day, we'd like to offer a brew binary package as well. Step 1 is to package a tarball along the dmg. This is done in `package_commands.py`. Step 2 is to upload the package. Done is `update_brew.sh`. Step 3 is to update the brew Formula. [servo-bin.rb](https://github.com/paulrouget/homebrew-servo/blob/master/servo-bin.rb.in) is updated in `update_brew.sh`. Step 4 is to trigger `update_brew.sh` along `update_nightly.sh`. https://github.com/servo/saltfs/blob/master/buildbot/master/files/config/steps.yml <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12688) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel |
|
brew package Addressed #12600 This is just a WIP PR to see if this approach is right. The same way night builds are uploaded every day, we'd like to offer a brew binary package as well. Step 1 is to package a tarball along the dmg. This is done in `package_commands.py`. Step 2 is to upload the package. Done is `update_brew.sh`. Step 3 is to update the brew Formula. [servo-bin.rb](https://github.com/paulrouget/homebrew-servo/blob/master/servo-bin.rb.in) is updated in `update_brew.sh`. Step 4 is to trigger `update_brew.sh` along `update_nightly.sh`. https://github.com/servo/saltfs/blob/master/buildbot/master/files/config/steps.yml <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12688) <!-- Reviewable:end -->
|
☀️ Test successful - arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev |
Addressed #12600
This is just a WIP PR to see if this approach is right.
The same way night builds are uploaded every day, we'd like to offer a brew binary package as well.
Step 1 is to package a tarball along the dmg. This is done in
package_commands.py.Step 2 is to upload the package. Done is
update_brew.sh.Step 3 is to update the brew Formula. servo-bin.rb is updated in
update_brew.sh.Step 4 is to trigger
update_brew.shalongupdate_nightly.sh. https://github.com/servo/saltfs/blob/master/buildbot/master/files/config/steps.ymlThis change is