Name | Modified | Size |
---|---|---|
.. | ||
docker_registry | ||
xmlschema | ||
modP4.py | 10 years ago | |
p4tools.py | 10 years ago | |
__init__.py | 10 years ago |
Change | User | Description | Committed |
---|---|---|---|
15540 | mart | old | 10 years ago |
15536 | mart | much refactoring, added search() as attr to fileobject class def and to P4File(s)... lots... of cleanup « |
10 years ago |
15402 | mart | renaming to lower case | 10 years ago |
15391 | mart | some cleanup.... cmdoptions no lonloger exposed in file opener, best to split in 2 parts (...cmddefs & specdefs) « |
10 years ago |
15390 | mart | added a schema parser so that we could easily access cmd & spec related detail in the... the cmd line options parser. « | 10 years ago |
15389 | mart | just a few changes to `guessType()` | 10 years ago |
15388 | mart | __call__() shoduld no longer execute any query statements, differing work to A) `defineQue...ry()` to set it up and B) within .select() and .read() for its execution. « | 10 years ago |
15339 | mart | fixed a few buggy things... | 10 years ago |
15330 | mart | * SchemaParser * client-side file objects * improved cmd line options parser * fixed man...y bugs * added/fixed/improved validators * added auto-cmd name changes when mismatch with expected vs retrieved number of records * added ap-side path resolver (`p4 where`) since sometimes we can't know a user's intentions (I.e. when referencing a relative p4 path) - so we guess * added separate object loader to treat files and revs separately from other types of objects * separate file object 'read' attribute from 'select', so that there's a clear picture of what we are asking... That is, the thing of interest (i.e.: file content is the thing of interest when request file records) ... therefore: >>> with op4n('//depot/files/...','r') as reader: >>> ... query = ('change.user=mart','depotFile#\.py$') >>> ... files = reader(query).select() the query isn't all that specific and there's a good change this would return multiple records, so unless we really want to get the file content of multiple files, it would make sense to specify `.select()` as opposed to `read()` * note: individual records can access the `read` attribute to retrieve a file's content, I.e.: with the sample above, we could do: >>> for file in files: >>> ... content = file.read() * making much better use of sec definitions to validate spec input / validation * and more stuff... ** ALL READ test are passing test, including multi-threaded tests! :) * new in tools: - class zipper (to interact with 'p4 zip' & 'unzip' - class p4get (like apt-get for p4 software, but something that works - will figure out dependencies, change permission bits, download, read files from url, git/hg clones, ftp, etc...) « |
10 years ago |
15084 | mart |
more updates... added fstat test, fixed filemode validation for `readp4file` |
10 years ago |
15080 | mart | more updates> we have successful file reads of: * depot files * client files * cmds... * specs queries are successful determining when to give to P4D and when to keep the expression « |
10 years ago |
14983 | mart | updates, bug fixes, etc. | 10 years ago |
14922 | mart | more updates... queries are better, mapping of p4 options/keywords to query fields are als...o better... « |
10 years ago |
14814 | mart | more updates, new things, bla bla bla | 10 years ago |
14724 | mart | updates, improved Query classes (ready to add runtime expansion classes), added p4download...er, etc.... bla bla bla « |
10 years ago |
14131 | mart | adding mode detail to parsetrees (cmdoptions & specdefs) - full contructs promotes bet...ter validation! « | 10 years ago |
14094 | mart | few more updates this weekend | 10 years ago |
14034 | mart | * added no-fuss p4loger (as decordator) * re-factored class SpecDef and shuffled class Sp...ecClient round « |
10 years ago |
14032 | mart | fixed optionsParser to include mutually_exclusive options map to the cmdoptions parseTree | 10 years ago |
14010 | mart | a bit of clean up | 10 years ago |
14009 | mart | adding - still pieces under construction - and have not yet re-implemeted write(), should... complete as soon as possible... « | 10 years ago |