zip repo
Component: cr-action:zip repo (v1.0.0)
Added by: gfursin (2019-10-16 07:58:04)
Authors: Grigori Fursin
License: BSD 3-clause (code) and CC BY-SA 4.0 (data)
Creation date: 2014-12-06 15:37:32
CID: 081173242a88bc94:87c14620a8640978cr-action:zip repo  )

Sign up here to be notified when new results are reproduced or new CodeReef components are shared!

How to get and run stable version (under development):
  pip install codereef
  cr download module:repo --version=1.0.0 --all
  ck zip repo --help

How to get and run development version:
  pip install ck
  ck pull repo:default
  ck zip repo --help

How to run from Python:
   import ck.kernel as ck

   r=ck.access({'action':'zip',
                'module_uoa':'repo',
                ... See JSON API below ...
               })
   if r['return']>0: return r
   ...
Info about the CK module with this action: repo
Workflow framework: CK
Development repository: default
Module description: CK repositories
Workflow:
API Python code: Link
JSON API:
        "    Input:  {
              data_uoa       - repo UOA

              (archive_path) - if '' create inside repo path

              (archive_name) - if !='' use it for zip name
              (auto_name)    - if 'yes', generate name name from data_uoa: ckr-.zip
              (bittorent)    - if 'yes', generate zip name for BitTorrent: ckr--YYYYMMDD.zip

              (overwrite)    - if 'yes', overwrite zip file
              (store)        - if 'yes', store files instead of packing


              (data)         - CID allowing to add only these entries with pattern (can be from another archive)

              (all)          - archive all files
            }

    Output: {
              return       - return code =  0, if successful
                                         >  0, if error
              (error)      - error text if return > 0
            }

"
       


All versions:


Public comments

    Please log in to add your comment!


If you notice inapropriate content that should not be here, please report us as soon as possible and we will try to remove it within 48 hours!