Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

#3857: Send local files directly instead of redirects #93

Merged
merged 4 commits into from Aug 21, 2018

Commits on Aug 10, 2018

  1. Fix logger name for v2 views

    tri authored and simon-baatz committed Aug 10, 2018
    Copy the full SHA
    fff67f7 View commit details
    Browse the repository at this point in the history
  2. Fix app_util.validate_and_transform_repo_name()

    It could be easily confused by paths containing component keywords as
    part of e.g. the image name. Fix this by:
    
    - splitting up by path components
    - look for keywords from the right
    simon-baatz committed Aug 10, 2018
    Copy the full SHA
    d6cca3c View commit details
    Browse the repository at this point in the history
  3. Add "repository" to stored repo data from redirect files

    "repository" has been present since V1, but was not stored. Do this to
    prepare for the "serve_content" feature which will need it.
    tri authored and simon-baatz committed Aug 10, 2018
    Copy the full SHA
    3034c4a View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2018

  1. Implement option to serve local content

    Implement option to send Docker files directly from local paths
    instead of creating a HTTP redirects. The local paths can be created by
    a Pulp Docker web distributor or by a rsync distributor.
    
    Example crane.conf:
    
    ```
    [general]
    debug: true
    data_dir: /var/www/pub/docker/
    endpoint: localhost:5000
    
    [serve_content]
    enable: true
    ```
    
    closes #3857
    https://pulp.plan.io/issues/3857
    tri authored and simon-baatz committed Aug 15, 2018
    Copy the full SHA
    03fc5ad View commit details
    Browse the repository at this point in the history