Skip to content

Commits on Source 13

  • James Ennis's avatar
    _profile.py: Added a new profiling topic, scheduler · d5847462
    James Ennis authored
    profile_start() and profile_end() calls have been incorporated into
    Scheduler.run()
    d5847462
  • James Ennis's avatar
    _profile.py: Added a new profiling topic, load-selection · 56a3954c
    James Ennis authored
    profile_start() and profile_end() calls have been added to
    Stream.load_selection()
    56a3954c
  • James Ennis's avatar
    _profile.py: Update copyright statement · 116da6d7
    James Ennis authored
    116da6d7
  • James Ennis's avatar
    Merge branch 'jennis/add_new_profile_topic' into 'master' · 137d31cd
    James Ennis authored
    Add new 'scheduler' and 'load-selection' profiling topics
    
    See merge request !1088
    137d31cd
  • Tristan Van Berkom's avatar
    _artifactcache.py: Don't require the quota to be available on disk. · 22b3a0c1
    Tristan Van Berkom authored
    Instead only rely on the headroom to be enough to protect against
    out of space conditions. The headroom can become configurable as
    a separate step is required.
    
    The changes to achieve this are:
    
      * Rename ArtifactCache.has_quota_exceeded() to ArtifactCache.full().
    
      * ArtifactCache.full() now also reports True if the available
        space on the artifact cache volume is smaller than the headroom.
    
        This ensures jobs get triggered to cleanup the cache when
        reaching the end of the disk.
    
      * When loading the artifact quota, it is now only an error if
        the quota exceeds the overall disk space, not if it does not
        fit in the available space.
    
        It is still a warning if the quota does not fit in the
        available space on the artifact cache volume.
    
      * Updated scheduler.py and buildqueue.py for the API rename
    
      * tests: Updated the artifactcache/expiry.py test for its
        expectations in this regard.
    
        Added a new test to test an error when quota was specified to
        exceed total disk space, and adjusted the existing tests to
        expect a warning when the quota does not fit in the available
        space.
    
    This fixes issue #733 and #869.
    22b3a0c1
  • Tristan Van Berkom's avatar
    Merge branch 'tristan/cache-quota-max-only' into 'master' · 27ca6cc7
    Tristan Van Berkom authored
    _artifactcache.py: Don't require the quota to be available on disk.
    
    Closes #869 and #733
    
    See merge request !1106
    27ca6cc7
  • Chandan Singh's avatar
    tox.ini: Add environment to update man pages · 89ba2abe
    Chandan Singh authored and Chandan Singh's avatar Chandan Singh committed
    Previously, one had to manually install `click-man` package, and
    remember to run the correct command. Now, we can simply run `tox -e man`
    to update the man pages.
    89ba2abe
  • Chandan Singh's avatar
    man: Refresh man pages · d7438688
    Chandan Singh authored and Chandan Singh's avatar Chandan Singh committed
    Notable changes:
    
    * New `source` and `artifact` command groups
    * Man pages corresponding to obsolete commands, that were marked as
      hidden in Click, have now been removed.
    
    Fixes #881.
    d7438688
  • Chandan Singh's avatar
    setup.py, CONTRIBUTING.rst: Recommend using tox to generate man pages · 4edbbd27
    Chandan Singh authored and Chandan Singh's avatar Chandan Singh committed
    Simplify our docs, by requesting users to run `tox -e man` to update man
    pages, instead of manually installing `click-man` and running the
    command manually.
    4edbbd27
  • Chandan Singh's avatar
    setup.py: Do not error out when man directory is empty/missing · a3e7aee8
    Chandan Singh authored and Chandan Singh's avatar Chandan Singh committed
    If the `man` directory is empty, then it won't be copied in the source
    distribution, and `list_man_pages()` will throw an exception when trying
    to list files in a non-existent directory. This prevents us from
    installing the BuildStream package when the man pages are not there.
    
    The most common use-case for this is when we want to re-generate the man
    pages but want to install the package before re-generating them.
    a3e7aee8
  • Tristan Van Berkom's avatar
    Merge branch 'chandan/toxic-man' into 'master' · 222753ac
    Tristan Van Berkom authored
    Generate man pages using tox & update them
    
    Closes #880 and #881
    
    See merge request !1107
    222753ac
  • Tom Pollard's avatar
    _stream.py: Add use_artifact_config opt arg for load_selection() · a65b8d68
    Tom Pollard authored
    use_artifact_config added as an optional default arg, allowing
    for loading of given elements artifact remote config.
    a65b8d68
  • Tom Pollard's avatar
    Download buildtrees on demand for bst shell --use-buildtree · e90bd0a2
    Tom Pollard authored
    Provide bst shell --use-buildtree the ability to attempt to
    acquire missing buildtrees, given respective option, user
    pull-buildtree context and remote availability.
    
    _frontend/cli.py: Refactor logic for determining --use-buildtree
    option with given opportunity to attempt pulling a non-local
    buildtree. Element loaded with artifact_config to allow remote
    querying.
    
    _stream.py: With given user option and element state, construct
    PullQueue to fetch remote buildtree. Continue or Error without
    buildtree if cannot be attained.
    
    tests/integration/build-tree.py: Update to support new usecases
    e90bd0a2
Loading