fubarhouse / ansible-role-golang Goto Github PK
View Code? Open in Web Editor NEWInstalls the Go programming language and packages on Mac & Linux (Ubuntu, CentOS)
License: MIT License
Installs the Go programming language and packages on Mac & Linux (Ubuntu, CentOS)
License: MIT License
Progress on this one has been progressed in issue #53
Templates are no longer in use, let's delete them.
Post go-get, we should be able to clone any particular go repository (github or not) at a particular version of tag, and then install it manually.
For the sake of character, I've added the golang gopher, and I've been trying without success to get some passing tests... This needs to happen now.
$GOROOT/bin in $PATH needs to refer to $GOPATH/bin
Post go1.8.3 release we'll update our version here for the next release.
In addition to issue #1 to install many versions, allow an option to build from source.
As I am a proper Gopher now, I am seeing less and less validity in a gvm release - other than building from source.
I want to explore this, and basically figure out if removing GVM support is a good idea. The added complexity and support isn't particularly of interest where the application gets very little use in comparison to traditional installation methods.
I need to work out if this is going to be a thing I'll be implementing, and how this role would change to accommodate it.
It would be rather good if we could install them over the top of the file system and gvm just work automatically, but I need to look at the details.
gvm use
is failinggvm use
? refer to use
script for answers.go_versions
to add master as well as multiple othergo get
On a DrupalVM Precise instance, needs investigation...
needs further work - I don't believe this should be done but it would be a nice feature, but it depends on the workload it'll introduce.
There's no need for this dependency anymore, as it's only providing a couple of variables which in the case of this role are typically manually inputted. Two new tasks in setup.yml
should cover it.
Had a case today where the vagrant user .bash_profile which should have been touched, was actually the root user file, and the permissions were denied.
Via docker tests in travis.
Progress on this one has been progressed in issue #53
Installing Go1.4 via the recommended and setting the $GOROOT_BOOTSTRAP variable (which defaults to $HOME/go1.4/
These variables should be optional, as well as a flag to actually build go1.4 for bootstrapping.
Actual installation will happen via the recommended git release branch.
There should be additional logic for preventing traditional version numbers being used.
source installs are tied to specific versions, without the GOOS or GOARCH variables used in the file name (example: go1.8.1.src.tar.gz).
Building process is unified. ( ./all.bash ), and gcc should be installed for versions prior to 1.4 - but that will probably not be enforced in any way.
A problem I feel is always getting in my way is folder permissions on GOROOT and/or the package paths under $GOPATH/bin
, $GOPATH/src
and $GOPATH/pkg
.
We should have this as a configurable, with some sensible defaults...
GVM is quite graceful about legacy versions now, so this was implemented as an integration in v1.2 but I've clearly forgotten to update the README.md about this feature.
Via docker tests in travis.
Basically just check over the following:
go_reget: true
Something which performs the function listed above will purge out the contents of:
This will ensure a package is guaranteed to be re-fetched each time a play will run, which will get around an underlying problem I intend on investigating properly at a later date.
Isolating the installation tasks will speed up provisioning time significantly.
For the sake of always having a compiler available for post 1.4 versions, we'll make 1.4 available always and set the system go to 1.4.
There were some changes I made in my local PyCharm IDE, obviously some time ago now.
Review and commit those changes, which affect the default installation settings among other changes.
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.