summaryrefslogtreecommitdiff
path: root/spec/unit/module_tool/tar_spec.rb
AgeCommit message (Collapse)AuthorFilesLines
2014-04-04(PUP-2093) Migrate PMT to /v3 API.Pieter van de Bruggen1-4/+4
Prior to this commit, the PMT managed all communication with the Forge via the (now legacy) /v1 API. That API has been deprecated (primarily due to scalability concerns), which is less of an issue since it was never officially a public API. This commit migrates all communication to the Forge to the new /v3 API, which is expected to be launched as our official public API "soon". This commit also integrates a standalone dependency resolver, as the /v3 API contains no implicit dependency resolution (as the /v1 API did); consequently, large portions of the PMT code have been changed, and others have become unreachable. This commit also changes the default host that the PMT communicates with, from https://forge.puppetlabs.com to https://forgeapi.puppetlabs.com (the natural URL for the Forge API service). Since the tool now expects to communicate with a completely different service, it will be unable to communicate with services that do not implement the same /v3 API.
2014-03-07Remove now-redundant Tar::Solaris from module_toolReid Vandewiele1-14/+0
Changes to the way Puppet::ModuleTool::Tar::Gnu works means that the *::Tar::Solaris variant should now be redundant. It existed to require gtar when the underlying platform did not support GNU-tar options, but the changes to the core Tar::Gnu class mean that we no longer use any flags or options that don't work just fine with oldschool unix tar executables. Remove Puppet::ModuleTool::Tar::Solaris. On a side note, Tar::Gnu should probably be renamed to something more generic.
2014-01-24(PUP-1151) Respond with 404 when path not knownAndrew Parker1-1/+1
The v2.0 api implementation had a type that was not caught by any tests. This fixes that issue (a typo) and adds a test that would have shown the problem.
2013-11-08(22853) Let OpenBSD use gtar too.Jasper Lievisse Adriaanse1-0/+45
BSD tar doesn't support "--no-same-permissions --no-same-owner" Tests and minor fixups by Adrien Thebo <adrien@puppetlabs.com>