Commit Graph

29 Commits

Author SHA1 Message Date
Tianon Gravi ac3ac95930 First attempt to unstick Windows 2016-06-08 10:23:10 -07:00
Tianon Gravi e9ae2802d9 Remove support for Go 1.5, add support for Go 1.7 2016-06-03 09:35:28 -07:00
Tianon Gravi c98d0c2b3d Stop being a dummy reinventing the wheel and use template.IsTrue 2016-06-03 09:15:36 -07:00
Tianon Gravi 3db02d3b23 Add "empty string is false" to "ternary" 2016-06-02 20:41:21 -07:00
Tianon Gravi 5e6bbb37cb Make ternary more forgiving of "interesting" boolean-like values 2016-06-02 17:30:32 -07:00
Tianon Gravi 29dc82bbab More reflection tweaking 2016-06-02 17:23:48 -07:00
Tianon Gravi 032bdbe949 Use proper reflection instead of simple type switching 2016-06-02 17:21:11 -07:00
Tianon Gravi 5c8be71405 Generify some of the "action factory" logic in templatelib, thus allowing "first" and "last" to work on arbitrary types instead of just strings 2016-06-02 17:14:33 -07:00
Tianon Gravi e4fd05106a Screw it, let functions take only one argument instead of requiring two 2016-06-02 17:05:15 -07:00
Tianon Gravi e55c34e8a6 Add new "ternary" templatelib function 2016-06-02 17:01:09 -07:00
Tianon Gravi 939e8fc63d Fix minor typo 2016-06-02 16:49:58 -07:00
Tianon Gravi 369f346d90 Add a new "pkg/templatelib" package with the start of a simple text/template "stdlib" 2016-06-02 16:46:29 -07:00
Tianon Gravi 7d56be63f3 Be slightly less aggressive about using the current directory's "repo" 2016-06-01 17:08:02 -07:00
Tianon Gravi a0797a5c0b Add more validation and better line-based "git tag" handling 2016-05-27 16:41:04 -07:00
Tianon Gravi e74aa41b37 Catch errors for invalid tagName values 2016-05-27 13:25:04 -07:00
Tianon Gravi 04af83c7d7 Add simple "HasTag" function for a Manifest2822Entry 2016-05-27 13:19:04 -07:00
Tianon Gravi 8a9af33071 Update manifest.Fetch to also parse "tag" from repo strings 2016-05-27 13:11:10 -07:00
Tianon Gravi e40181b728 Also verify the "absoluteness" of the URL 2016-05-27 11:59:54 -07:00
Tianon Gravi 0b0d493724 Change the order manifest.Fetch parses so we can have a good fallback error message 2016-05-27 11:57:01 -07:00
Tianon Gravi f346802da9 Adjust the signature of Fetch to include the "repo name" 2016-05-27 11:47:30 -07:00
Tianon Gravi de5435319f Add initial "manifest.Fetch" command 2016-05-27 11:37:40 -07:00
Tianon Gravi 2a759cb2d3 Add example code for using the "manifest" package 2016-05-27 10:46:11 -07:00
Tianon Gravi 6a819d5aa4 Update Travis Go versions 2016-05-27 10:45:45 -07:00
Tianon Gravi ea2a7991ce Add initial "Manifest" reading package 2016-05-25 15:54:51 -07:00
Tianon Gravi fa86eff1f2 Add initial .travis.yml 2016-05-25 15:53:41 -07:00
Tianon Gravi c09c7f0323 Rename misc -> pkg (https://twitter.com/davecheney/status/733156157192175616) 2016-05-25 15:49:51 -07:00
Tianon Gravi b116436621 Remove unneeded "LeadingWhitespaceStripper" 2016-05-25 15:48:02 -07:00
Tianon Gravi 8c208f76f8 Add initial "stripper" package 2016-05-25 15:47:49 -07:00
Tianon Gravi 7381759578 Add initial LICENSE file matching docker-library/official-images 2016-05-25 15:43:04 -07:00