hammer icon indicating copy to clipboard operation
hammer copied to clipboard

Build packages from a simple spec

Results 13 hammer issues
Sort by recently updated
recently updated
newest added

When running hammer build in the mantl-packaging vagrant environment, Hammer panics. For some reason info is nil. I did not look much into the cause.

They all could have a consistent interface: ``` type Consumer interface { New() int handle() Error() error } ``` The error handling also needs to be improved.

enhancement

When a build script fails, [Hammer logs that failure to its own stdout/stderr](https://github.com/asteris-llc/hammer/blob/6337ab5e9e72b8d4e8aae792b97109a341f2bab4/hammer/package.go#L339-L346). However the "stdout" and "stderr" fields of that log line can be empty while the log files...

bug

Currently the tests on this package are scarse! The CI build runs `go test`, but there aren't too many test functions in the first place.

enhancement

Hammer should eventually also target debs, its description format is powerful enough to act as a meta packaging format.

enhancement

For instance, mesos-agent-dynamic conflicts with mesos-agent. FPM has an option for this: ``` --conflicts CONFLICTS Other packages/versions this package conflicts with. This flag can specified multiple times. ```

enhancement

Check here for an example of duplication that could be avoided: https://github.com/asteris-llc/mantl-packaging/tree/master/distributive

enhancement

I'd love it if you could pass additional command line options through hammer to `FPM`. Specifically, `--force` would be good for my use case. I'd be happy to put in...