Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | | | | | | | | | | | | | Update build model specs | Grzegorz Bizon | 2016-01-14 | 1 | -5/+4 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Attach download action to artifacts file in ZIP archive | Grzegorz Bizon | 2016-01-14 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Check if file exists in metadata in download action | Grzegorz Bizon | 2016-01-14 | 1 | -3/+8 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Render only valid paths in artifacts metadata | Grzegorz Bizon | 2016-01-14 | 6 | -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 Bizon | 2016-01-14 | 8 | -239/+175 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Change format of artifacts metadata from text to binary 0.0.1 | Grzegorz Bizon | 2016-01-14 | 4 | -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 browser | Grzegorz Bizon | 2016-01-14 | 3 | -0/+67 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Update build specs for artifacts browser support | Grzegorz Bizon | 2016-01-14 | 1 | -12/+11 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add basic spinach tests for project builds | Grzegorz Bizon | 2016-01-14 | 3 | -0/+41 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Show file size in artifacts browser using metadata | Grzegorz Bizon | 2016-01-14 | 6 | -12/+15 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add method that checks if path exists in `StringPath` | Grzegorz Bizon | 2016-01-14 | 3 | -1/+18 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Render 404 when artifacts path is invalid | Grzegorz Bizon | 2016-01-14 | 3 | -3/+6 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Do not depend on universe when checking parent in `StringPath` | Grzegorz Bizon | 2016-01-14 | 2 | -4/+28 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Extract artifacts metadata implementation to separate class | Grzegorz Bizon | 2016-01-14 | 5 | -23/+139 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Improve path sanitization in `StringPath` | Grzegorz Bizon | 2016-01-14 | 3 | -15/+13 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add path sanitization to `StringPath` | Grzegorz Bizon | 2016-01-14 | 1 | -12/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip] | |||||
| * | | | | | | | | | | | | | | | | | | Parse artifacts metadata stored in JSON format | Grzegorz Bizon | 2016-01-14 | 4 | -10/+33 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Use metadata stored in artifacats metadata file | Grzegorz Bizon | 2016-01-14 | 3 | -5/+20 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Update artifacts metadata fixture | Grzegorz Bizon | 2016-01-14 | 1 | -0/+0 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Seed db on development with artifacts metadata fixture | Grzegorz Bizon | 2016-01-14 | 1 | -5/+18 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add artifacts metadata uploader filed | Grzegorz Bizon | 2016-01-14 | 5 | -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 block | Grzegorz Bizon | 2016-01-14 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Make some conditions in `Ci::Build` more readable | Grzegorz Bizon | 2016-01-14 | 1 | -4/+6 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Update artifacts download specs | Grzegorz Bizon | 2016-01-14 | 2 | -10/+14 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add method that checks if artifacts browser is supported | Grzegorz Bizon | 2016-01-14 | 3 | -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?` method | Grzegorz Bizon | 2016-01-14 | 6 | -41/+53 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `artifacts?` method checks if artifacts archive is available. | |||||
| * | | | | | | | | | | | | | | | | | | Rename method that returns url to CI build artifacts download | Grzegorz Bizon | 2016-01-14 | 6 | -10/+14 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Mix `url_helpers` into `Ci::Build` | Grzegorz Bizon | 2016-01-14 | 1 | -10/+6 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add button to CI build artifacts browser into build summary | Grzegorz Bizon | 2016-01-14 | 2 | -1/+13 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Seed db with CI build artifacts using a zip archive | Grzegorz Bizon | 2016-01-14 | 3 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Remove artifacts metadata column from database | Grzegorz Bizon | 2016-01-14 | 5 | -18/+8 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Fix rubocop offenses in `StringPath` specs | Grzegorz Bizon | 2016-01-14 | 1 | -11/+19 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Improve performance of `StringPath` | Grzegorz Bizon | 2016-01-14 | 1 | -4/+11 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Disable `:format` in artifacts browser path | Grzegorz Bizon | 2016-01-14 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add support for parent directories in `StringPath` | Grzegorz Bizon | 2016-01-14 | 4 | -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 view | Grzegorz Bizon | 2016-01-14 | 3 | -3/+21 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add artifacts browser | Grzegorz Bizon | 2016-01-14 | 4 | -5/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implementation makes it possible to browse artifacts, it depends on artifacts metadata. | |||||
| * | | | | | | | | | | | | | | | | | | Add support for root path for `StringPath` | Grzegorz Bizon | 2016-01-14 | 2 | -9/+41 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add implementation of remaining methods in `StringPath` | Grzegorz Bizon | 2016-01-14 | 2 | -12/+57 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Improve `StringPath` specs (DRY) | Grzegorz Bizon | 2016-01-14 | 1 | -10/+19 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add `parent` iteration implementation to `StringPath` | Grzegorz Bizon | 2016-01-14 | 2 | -3/+19 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Use `Gitlab::StringPath` in CI build artifacts controller | Grzegorz Bizon | 2016-01-14 | 2 | -1/+20 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add new methods to StringPath | Grzegorz Bizon | 2016-01-14 | 2 | -3/+49 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add implementation of StringPath class | Grzegorz Bizon | 2016-01-14 | 2 | -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 up | Grzegorz Bizon | 2016-01-14 | 3 | -9/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts nesting artifacts controller in builds module. | |||||
| * | | | | | | | | | | | | | | | | | | Add view action to artifacts controller | Grzegorz Bizon | 2016-01-14 | 4 | -3/+10 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Move build artifacts implementation to separate controller | Grzegorz Bizon | 2016-01-14 | 4 | -29/+46 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Improve CI builds seeder | Grzegorz Bizon | 2016-01-14 | 1 | -22/+59 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add database seed for build artifacts | Grzegorz Bizon | 2016-01-14 | 1 | -7/+18 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Add CI build artifacts tarball as a spec fixture | Grzegorz Bizon | 2016-01-14 | 1 | -0/+0 | |
| | | | | | | | | | | | | | | | | | | |