mietek / bashmenot Goto Github PK
View Code? Open in Web Editor NEWLibrary of GNU bash functions
License: BSD 3-Clause "New" or "Revised" License
Library of GNU bash functions
License: BSD 3-Clause "New" or "Revised" License
In 58e4a58 the cp
invocation is changed to use -a
instead of -p
. However, halcyon invokes copy_file
using bash's <(cmd)
syntax, which passes in a pipe as the file argument; this doesn't work with cp -a
. The actual behaviour is that it just removes the destination entirely, for some reason I don't understand, but the expected behaviour would be to replicate the pipe, which is not desireable either.
I'm not entirely sure if this should be considered a bug in bashmenot, or in halcyon, but the change was in bashmenot so I'm filing it here. Note that this is quite serious, as it breaks setting a large number of options from environment variables or command-line options when using halcyon.
On FreeBSD, use pkg
.
curl can fail with 000
when cacert is missing or broken on the local machine:
-----> Restoring install directory
Downloading https://halcyon.global.ssl.fastly.net/osx-10.10-x86_64/ghc-7.8.4/halcyon-install-b1105b3-hello-wai-1.0.tar.gz... 000 (unknown)
Retrying in 2 seconds (1/5)... 000 (unknown)
Retrying in 4 seconds (2/5)... 000 (unknown)
Retrying in 8 seconds (3/5)... 000 (unknown)
Retrying in 16 seconds (4/5)... 000 (unknown)
This isn’t a transient error, and shouldn’t cause requests to be retried.
Use pacman --sync --downloadonly
.
Find a way to provide additional detail in curl messages, including:
For example, when using the s3-eu-central-1.amazonaws.com
S3 endpoint, requests fail with 400 (bad request)
due to lack of support for AWS Signature Version 4 (mietek/halcyon#49, #9), which is made clear by the additional message provided by Amazon:
The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
This is related to #5.
libgmp.so.3
or libgmp.so.10
and distinguish between the twolibtinfo.so.5
or libncurses.so.5
apt-get
yum
Currently, bashmenot supports only AWS Signature Version 2.
AWS Signature Version 4 is needed to support the following S3 regions:
Look into Gow.
It would be nice to use an exact tagged version or a commit SHA-1 when appending to a Git URL. For example, a commit of Bashmenot could be pointed to by the URL https://github.com/mietek/bashmenot#08977d6 (or the full SHA-1).
The code here would seem to support doing so already:
Line 76 in 08977d6
But this line will need a bit of adjustment to allow any commit-like identifier to be used:
Line 105 in 08977d6
Currently, bashmenot only supports installing platform packages on Debian-based and RedHat-based Linux distributions, by wrapping around apt-get
and yum
, respectively.
The install_platform_packages
function needs to be extended to support OS X, and a new OS-specific function needs to be added, most likely by wrapping around brew
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.