Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbrew package #12688
brew package #12688
Conversation
highfive
commented
Aug 2, 2016
|
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: |
This comment has been minimized.
This comment has been minimized.
paulrouget
Aug 2, 2016
Author
Contributor
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 |
This comment has been minimized.
This comment has been minimized.
aneeshusa
Aug 4, 2016
Member
I would much rather just include the necessary files directly in the servo repo.
This comment has been minimized.
This comment has been minimized.
aneeshusa
Aug 4, 2016
Member
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.
| cd homebrew-servo | ||
|
|
||
|
|
||
| m4 -D PACKAGEURL=$PACKAGEURL -D SHA=$SHA -D VERSION=$VERSION ./servo-bin.rb.in > Formula/servo-bin.rb |
This comment has been minimized.
This comment has been minimized.
60fc91c
to
60a0244
|
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 notifications@github.com 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. |
|
|
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 -->
|
|
highfive
commented
Aug 14, 2016
|
|
@bors-servo retry |
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 -->
|
|
paulrouget commentedAug 2, 2016
•
edited
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