Skip to content

Commits on Source 5

  • Qinusty's avatar
    Rework Skipped usage · 93fd7645
    Qinusty authored
    The SKIPPED message type is now used to indicate the end of a task which
    was successful without having to perform the given task.
    
    This overhauls the use of `Queue.done()` and therefore queues do not
    need to provide a processed/skipped return value from `done()`. Instead
    this is replaced with the action of raising a `SkipJob` exception from
    within `Queue.process()`.
    93fd7645
  • Qinusty's avatar
    tests.py: Test skip on push · c3442679
    Qinusty authored
    Adds a test to ensure that BuildStream alerts the user of a skipped push
    when the remote already has the artifact cached.
    c3442679
  • Qinusty's avatar
    element.py: Remove redundant timed_activity · bfa5362f
    Qinusty authored
    This removes the timed_activity for an element _push action. This is
    unnecessary as the job is already being timed elsewhere.
    bfa5362f
  • Qinusty's avatar
    element.py: reword Downloaded to Pulled · ce91b02e
    Qinusty authored
    This changes the info phrase for when an artifact is pulled from a
    remote server.
    ce91b02e
  • Qinusty's avatar
    cascache.py: Modify messaging API calls · 75704f89
    Qinusty authored
    Both pulling and pushing INFO messages are now status messages.
    
    Calls to the messaging API through `self.context.message()` have now
    been switched to `element.info`.
    75704f89
Loading