Name | Modified | Size |
---|---|---|
.. | ||
c++ | ||
cbd | ||
colour | ||
dvcs | ||
java | ||
mercurial | ||
p4bucket | ||
p4dcfg | ||
p4docker | ||
p4jenkins | ||
P4JsApi | ||
P4Pythonlib | ||
p4search | ||
Presentations | ||
pvcstop4 | ||
python-sdk | ||
ruby | ||
COPYRIGHT | 15 years ago | 1 KB |
DISCLAIMER | 15 years ago | 353 B |
Change | User | Description | Committed |
---|---|---|---|
23700 | Sven Erik Knop | Completed test cases for Stream Transfer, including rename. Good to go, no further chan...ges required from my point of view. « |
7 years ago |
23699 | Sven Erik Knop | Always create test cases. Found a couple of nasty bugs already. Direct and indirect tra...nsfers are tested and seem to work fine. I am going to add a few more tests, specifically but not exclusive to renames. « |
7 years ago |
23692 | Sven Erik Knop | Simple trigger that logs sizes of submitted changelists. Invoke with python3 SizeLo...gger.py <config> <change> where config is the filename of a config file containing the following two sections: -------------- [P4] port=1666 user=tom password=A154ABF11F094B5D288CA0BE9F6F1086 [Log] logfile=mylogfile.log -------------- The P4 connection will use the standard defaults for any parameters not defined (such P4PORT, P4USER) The default log file is called 'sizes.log' Since this trigger is based on the standard P4Triggers.py, it will also create a separate log file (p4triggers.log) for any errors that occur from a connection failure or other exception thrown. Install this trigger like this in the triggers table: SizeLogger change-commit //depot/path/... "python3 SizeLogger.py configfile.name %change%" You need to have P4Triggers.py in the same path as the SizeLogger.py file. --------- This trigger uses 'p4 describe' to collect all files in the change, filters out any files that do not have 'add' or 'edit' action, and then sums up the remaining file sizes - so branches and renames are ignored. The output in the log file is in JSON format for easy parsing. --------- I also updated P4Triggers.py to add size and digest to the internal stored change « |
7 years ago |
23630 | Sven Erik Knop | Beginning of a GUI tool to check and set configurables. | 7 years ago |
23623 | Sven Erik Knop | Updated to enable renaming of target streams | 7 years ago |
23587 | Sven Erik Knop | Renamed to Transfer | 7 years ago |
23586 | Sven Erik Knop | Little tool to transfer stream hierarchies | 7 years ago |
23552 | Sven Erik Knop | Fixed indentation, no functional change | 7 years ago |
23518 | Sven Erik Knop | Upgrade the Tokenizer to deal with Base64 encoded numbers. | 7 years ago |
23517 | Sven Erik Knop | Added table bodresolve | 7 years ago |
23494 | Sven Erik Knop | Updated schema (partitially) to 2017.2 Still missing: graph depot schemas some rp (...edge server) schemas « |
7 years ago |
23489 | Sven Erik Knop | Fix map remove call to avoid compile error. | 7 years ago |
23208 | Sven Erik Knop | Use decorator to surround tests for simplication. | 7 years ago |
23188 | Sven Erik Knop | Add another two test cases that are expected to fail for now. Need to rethink how these... issues can be addressed, might need an additional check. « |
7 years ago |
23177 | Sven Erik Knop | Removed all old P4Python executables. pip install p4python has superceeded the old way... of installing P4Python on Windows. We also publish the executables on the ftp site now, so there is no need to keep these releases around anymore. « |
7 years ago |
23176 | Sven Erik Knop | New test case checking the exception itself. | 7 years ago |
23175 | Sven Erik Knop | Additional test case checking multiple directories in the same change. | 7 years ago |
23174 | Sven Erik Knop | New test case verifying that a conflict in the same change is caught. | 7 years ago |
23173 | Sven Erik Knop | Fixed one problem - move/add now recognised | 7 years ago |
23172 | Sven Erik Knop | Added two test cases expected to fail for now: Renaming a file to a filename conflictin...g with an existing file. Creating a directory that conflicts with an existing file with different spelling. « |
7 years ago |
23171 | Sven Erik Knop | Added simple directory fail test | 7 years ago |
23169 | Sven Erik Knop | Added test for foo != FOO/bar | 7 years ago |
23168 | Sven Erik Knop | Simple test to proof that the basic premise of the CheckCaseTrigger works. | 7 years ago |
23167 | Sven Erik Knop | Fix bug where a keyword argument contained '=' itself. The trigger accepts keyword argu...ments in the form key=value, for example port=server:1666 In the test case, I am passing in port as "rsh:p4d -r /path/to/root -vserver=3 -i", which gets split into three and not two strings. Fortunately, Python's string.split() has an optional argument limiting the number of splits. « |
7 years ago |
23154 | Sven Erik Knop |
Adding further test cases. Testing can only be done on Linux (case sensitive file system) |
7 years ago |
23145 | Sven Erik Knop | example for client default trigger | 7 years ago |
23144 | Sven Erik Knop | Beginning of TestCase for CheckCaseTrigger | 7 years ago |
22579 | Sven Erik Knop | Updated copyright notice | 8 years ago |
22578 | Sven Erik Knop | Little example tool to identify which changes have been completely integrated via copy. &...nbsp; The tool will collect the respective change descriptions and append them to the existing change description. Note that this script only prints out the resulting change description. A trigger might run 'p4 change -f' to update the integration description. « |
8 years ago |
21879 | Sven Erik Knop | Update IP address to match my standards | 8 years ago |
21706 | Sven Erik Knop |
Populate //cbd/main/... .... |
8 years ago |
21316 | Sven Erik Knop | Enhanced error output to print the actual exception. Should make debugging a bit easier.... « |
8 years ago |
21258 | Sven Erik Knop |
Fixed crashing on changes that have no add or branches. Improved reporting. |
8 years ago |
21202 | Sven Erik Knop | Completed the trigger for now, subject to unit tests This trigger is supposed to preven...t a submit of a new file (or a branch) that would create a conflict between a filename and a directory name. In Perforce, it is currently possible to submit a filename that exists already as a directory name, because the server does not recognise directory names as independent entities. When this happens, clients cannot sync files anymore from the path: files and directories cannot live in the same file system with the same name. This trigger will analyse a submit (as a change-submit trigger *only*): - extract all "add" and "branch" operations - extract all unique directories out of the above list - extract all file names out the above list - check that there is no file already submitted that matches the directories - check that there is no directory already submitted that matches the files This trigger will run 3 Perforce queries: extract the change, list matching files and list matching directories. This trigger should run as a user who has list permissions for all possible files under the path specified in the trigger table. The user needs to have a permanent ticket available on the server for the trigger to run. Output is a list of all violating files: Your submission has been rejected because the following files or directories already exist as a directory or file. Your file: //depot/file1 « |
8 years ago |
21201 | Sven Erik Knop | Now with case-sensitive protection | 8 years ago |
21200 | Sven Erik Knop | Beginning of FileDirectoryProtector. This trigger is supposed to protect from the situa...tion where a user submits a file that has the same name as a directory. The Perforce server cannot detect this, causing all kinds of problems along the line. Step one: break a submit down into its directories and files. « |
8 years ago |
20945 | Sven Erik Knop | Release builds instead of debug builds. Separate DLL for 32 bit and 64 bit Requires VC...S10 redistribution libraries installed to work. « |
8 years ago |
20943 | Sven Erik Knop | Re-submit to figure out why this version does not work on Windows 10. | 8 years ago |
19873 | Pascal Soccard | Replaced iteritems() method by compatible Python 3 items() method | 9 years ago |
19872 | Pascal Soccard | Fixed missing tabulations for previous fix | 9 years ago |
19871 | kwirth | 'user' is a reserved argument name in P4Python. Need to use 'mysuser' &nb...sp; instead when testing if the current user is 'git-fusion-user'. As 'mysuser' is not a valid P4Python argument need to remove it after test and before other arguments are parsed. « |
9 years ago |
19621 | Sven Erik Knop | Little Tuturial for SDK tutorials | 9 years ago |
19620 | Sven Erik Knop | My change description | 9 years ago |
19619 | Sven Erik Knop | My change description | 9 years ago |
18866 | Sven Erik Knop | Updated with latest version | 9 years ago |
18662 | Sven Erik Knop | P4Python 2015.2 for Python 3.5 32 and 64bit Windows installer | 9 years ago |
17347 | Sven Erik Knop | P4Python 2015.2 Patch 1 binaries | 9 years ago |
17262 | Sven Erik Knop | Added binary installers for P4Python 2015.2, by popular demand | 9 years ago |
16537 | Sven Erik Knop | updated maintainer email | 9 years ago |
16519 | Sven Erik Knop | Added README | 9 years ago |