Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
charm-tools 1.9.2 #46273
Conversation
|
Travis seems to be experiencing a networking hiccup, hence the failed test. |
|
@BrewTestBot test this please |
|
I can push a non-changing commit to the branch to kick travis again if it helps push this through. @BrewTestBot and 2/3 travis tests signed off on this. The third test failure appears to be due to networking and not because of this code change. |
|
Wanted to raise a point from the other thread you closed earlier. The Travis build reveals remote fetching of undeclared Python modules during compile, and as much was mentioned in Homebrew#46213. I'm a touch confused by juju/charm-tools@2a70207 - Homebrew is capable of handling Python fetching and installing into the correct place; we do so regularly for a whole bunch of formulae. I'm not sure what is stopping the use of our usual resource model here? We don't permit The end result for users is the same as doing |
|
The fact that it's tedious and cumbersome to do this as a resource in homebrew. Python and setup.py already manages the dependency chain of requirements for this project. As I found out in #46213 I can't just define the resource, I have to define the resource and it's dependencies as resources. To breakdown each one - and each one's dependencies, would mean I'd be defining upwards of 30+ resources in this file. Seems weird to re-implement that here with homebrew. The forumula as it stands today was the recommended way to do this when I first set out to package charm-tools for OSX users (#23161). Having homebrew run |
It would be good if you could do that, thanks. It means users don't have to download things at build-time which opens them up to potentially nasty vulnerabilities unless there's checksum validation done there as strongly as ours. It also means none of those resources will be cached. We'd really appreciate it if you could do things our way here as we try and improve our tooling to automate this. Thanks! |
|
Python package manager does checksum validation and all traffic over https. I can understand how defining resources for software which don't come with robust package management but this seems like overkill. I care about my users but I've held up a release for 3 days already trying to get this into homebrew, it was easier to package with debian - now that's a metric ;) I will try to get this, but it's very difficult for me to test without first uploading it to your repo. Are there docs on how I can build and test this locally? |
|
There's documentation on Python handling here. You may particularly enjoy Tim's tool for resource block creation pretty much automatically: Link. |
|
I still think this is wrong but I care more about my users than arguing the merits of duplicated package management. So that I can reference in the future for other updates:
|
marcoceppi commentedNov 23, 2015
This is a feature and bug fix release, deprecating 1.8.0 and 1.9.1