summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | Update build model specsGrzegorz Bizon2016-01-141-5/+4
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Attach download action to artifacts file in ZIP archiveGrzegorz Bizon2016-01-141-1/+2
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Check if file exists in metadata in download actionGrzegorz Bizon2016-01-141-3/+8
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Render only valid paths in artifacts metadataGrzegorz Bizon2016-01-146-19/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this version we will support only relative paths in artifacts metadata. Support for absolute paths will be introduced later.
| * | | | | | | | | | | | | | | | | | Simplify implementation of build artifacts browser (refactoring)Grzegorz Bizon2016-01-148-239/+175
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Change format of artifacts metadata from text to binary 0.0.1Grzegorz Bizon2016-01-144-11/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the format of metadata to handle paths, that may contain whitespace characters, new line characters and non-UTF-8 characters. Now those paths along with metadata in JSON format are stored as length-prefixed strings (uint32 prefix). Metadata file has a custom format: 1. First string field is metadata version field (string) 2. Second string field is metadata errors field (JSON strong) 3. All subsequent fields is pair of path (string) and path metadata in JSON format. Path's metadata contains all fields that where possible to extract from ZIP archive like date of modification, CRC, compressed size, uncompressed size and comment.
| * | | | | | | | | | | | | | | | | | Add spinach feature specs for build artifacts browserGrzegorz Bizon2016-01-143-0/+67
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Update build specs for artifacts browser supportGrzegorz Bizon2016-01-141-12/+11
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add basic spinach tests for project buildsGrzegorz Bizon2016-01-143-0/+41
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Show file size in artifacts browser using metadataGrzegorz Bizon2016-01-146-12/+15
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add method that checks if path exists in `StringPath`Grzegorz Bizon2016-01-143-1/+18
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Render 404 when artifacts path is invalidGrzegorz Bizon2016-01-143-3/+6
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Do not depend on universe when checking parent in `StringPath`Grzegorz Bizon2016-01-142-4/+28
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Extract artifacts metadata implementation to separate classGrzegorz Bizon2016-01-145-23/+139
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Improve path sanitization in `StringPath`Grzegorz Bizon2016-01-143-15/+13
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add path sanitization to `StringPath`Grzegorz Bizon2016-01-141-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
| * | | | | | | | | | | | | | | | | | Parse artifacts metadata stored in JSON formatGrzegorz Bizon2016-01-144-10/+33
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Use metadata stored in artifacats metadata fileGrzegorz Bizon2016-01-143-5/+20
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Update artifacts metadata fixtureGrzegorz Bizon2016-01-141-0/+0
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Seed db on development with artifacts metadata fixtureGrzegorz Bizon2016-01-141-5/+18
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add artifacts metadata uploader filedGrzegorz Bizon2016-01-145-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Artifacts metadata field will be used to store a filename of gzipped file containing metadata definition for given artifacts archive.
| * | | | | | | | | | | | | | | | | | Use short method call in StringPath instead blockGrzegorz Bizon2016-01-141-2/+2
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Make some conditions in `Ci::Build` more readableGrzegorz Bizon2016-01-141-4/+6
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Update artifacts download specsGrzegorz Bizon2016-01-142-10/+14
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add method that checks if artifacts browser is supportedGrzegorz Bizon2016-01-143-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed because of backward compatibility. Previously artifacts archive had `.tar.gz` format, but artifacts browser requires ZIP format now.
| * | | | | | | | | | | | | | | | | | Update specs for CI Build, add `artifacts?` methodGrzegorz Bizon2016-01-146-41/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `artifacts?` method checks if artifacts archive is available.
| * | | | | | | | | | | | | | | | | | Rename method that returns url to CI build artifacts downloadGrzegorz Bizon2016-01-146-10/+14
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Mix `url_helpers` into `Ci::Build`Grzegorz Bizon2016-01-141-10/+6
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add button to CI build artifacts browser into build summaryGrzegorz Bizon2016-01-142-1/+13
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Seed db with CI build artifacts using a zip archiveGrzegorz Bizon2016-01-143-1/+1
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Remove artifacts metadata column from databaseGrzegorz Bizon2016-01-145-18/+8
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Fix rubocop offenses in `StringPath` specsGrzegorz Bizon2016-01-141-11/+19
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Improve performance of `StringPath`Grzegorz Bizon2016-01-141-4/+11
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Disable `:format` in artifacts browser pathGrzegorz Bizon2016-01-141-1/+1
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add support for parent directories in `StringPath`Grzegorz Bizon2016-01-144-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This support is not completed though, as parent directory that is first in collection returned by `directories!` is not iterable yet.
| * | | | | | | | | | | | | | | | | | Improve CI build artifacts browser viewGrzegorz Bizon2016-01-143-3/+21
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add artifacts browserGrzegorz Bizon2016-01-144-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implementation makes it possible to browse artifacts, it depends on artifacts metadata.
| * | | | | | | | | | | | | | | | | | Add support for root path for `StringPath`Grzegorz Bizon2016-01-142-9/+41
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add implementation of remaining methods in `StringPath`Grzegorz Bizon2016-01-142-12/+57
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Improve `StringPath` specs (DRY)Grzegorz Bizon2016-01-141-10/+19
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add `parent` iteration implementation to `StringPath`Grzegorz Bizon2016-01-142-3/+19
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Use `Gitlab::StringPath` in CI build artifacts controllerGrzegorz Bizon2016-01-142-1/+20
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add new methods to StringPathGrzegorz Bizon2016-01-142-3/+49
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add implementation of StringPath classGrzegorz Bizon2016-01-142-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `StringPath` class is something similar to Ruby's `Pathname` class, but does not involve any IO operations. `StringPath` objects require passing string representation of path, and array of paths that represents universe to constructor to be intantiated.
| * | | | | | | | | | | | | | | | | | Move artifacts controller level upGrzegorz Bizon2016-01-143-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts nesting artifacts controller in builds module.
| * | | | | | | | | | | | | | | | | | Add view action to artifacts controllerGrzegorz Bizon2016-01-144-3/+10
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Move build artifacts implementation to separate controllerGrzegorz Bizon2016-01-144-29/+46
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Improve CI builds seederGrzegorz Bizon2016-01-141-22/+59
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add database seed for build artifactsGrzegorz Bizon2016-01-141-7/+18
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add CI build artifacts tarball as a spec fixtureGrzegorz Bizon2016-01-141-0/+0
| | | | | | | | | | | | | | | | | | |