Commit Graph

15 Commits

Author SHA1 Message Date
Mike Gray d3666b0b6f Run python unittests; configure codecov via YAML (#2578) 2016-09-15 15:08:52 -07:00
Erik Arvidsson 3d83e4e72f Allow stage.py to create the staging dir (#2528)
Previously, it was required to already exist
2016-09-07 14:24:16 -07:00
Erik Arvidsson dbe0556c63 Rename files to their hashes when staging (#2515)
This add two keyword arguments to the GlobCopier:
- rename - if True, will rename the files to include their hash
- index_file - if present, then the paths in this file here will be
  updated to the renamed paths.
2016-09-07 13:34:14 -07:00
Erik Arvidsson 893d0fa360 stage.py needs to import sys before using it (#2513)
Also changes the tabs to spaces. Thanks pylint.
2016-09-02 13:38:43 -07:00
Erik Arvidsson f465b0bd3c Fix import of noms.staging in stage.py (#2510)
Also fix unit test that was not updated when the functions were
renamed.
2016-09-02 13:09:07 -07:00
Ben Kalman 8eba76a2ec Check before calling mkdirs on staging directory (#2502)
Also run pylint on staging.py.
2016-09-01 15:19:13 -07:00
Ben Kalman 815ca1586f Add perf build.py and util (#2487) 2016-08-31 16:50:34 -07:00
Aaron Boodman 1d752e3101 Update license: Noms will be copyright Attic Labs. (#1976) 2016-07-05 22:07:42 -07:00
Aaron Boodman 40d485bd03 Licensify everything 2016-05-30 14:32:28 -07:00
Benjamin Kalman ce7a3285c8 Make GlobCopier support nested paths. 2016-01-26 10:28:30 -08:00
Benjamin Kalman 41cd0711f4 Add GlobCopier. 2016-01-25 18:16:35 -08:00
Chris Masone b282335aaa Python test cleanup 2015-12-15 14:45:12 -08:00
Chris Masone 51bcb98784 Add noms.copy.Peers()
As I was working on making deployment files get staged by Go/Python,
another pattern emerged. It seems like it will be not-uncommon to want
to stage all the files in the directory your script is in over to the
staging directory the system made for you. So, provide a helper to do
that.
2015-12-15 13:38:50 -08:00
Chris Masone a47edc8431 Tools cleanup
Add a python test, clean up some error messages, and trim
env vars that don't need to be passed to build/staging scripts.
2015-12-15 11:18:00 -08:00
Chris Masone 6e316d9975 Move build scripts to python
Finding and running build scripts remains in Go
(tools/run_all_build.go and supporting libs), but the build scripts
themselves are in python now.  This is because Go doesn't have much
support for copying files and directories around, which is kind of the
primary focus of build and packaging scripts.

Towards issue 677
2015-12-11 14:46:16 -08:00