Merge lp:~ensoft-opensource/ensoft-sextant/auditing into lp:ensoft-sextant
Proposed by
Patrick Stevens
Status: | Merged |
---|---|
Approved by: | James |
Approved revision: | 15 |
Merged at revision: | 11 |
Proposed branch: | lp:~ensoft-opensource/ensoft-sextant/auditing |
Merge into: | lp:ensoft-sextant |
Diff against target: |
208 lines (+77/-10) 4 files modified
src/sextant/__main__.py (+22/-2) src/sextant/db_api.py (+37/-3) src/sextant/query.py (+7/-0) src/sextant/update_db.py (+11/-5) |
To merge this branch: | bzr merge lp:~ensoft-opensource/ensoft-sextant/auditing |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James | Approve | ||
Review via email: mp+231772@code.launchpad.net |
Commit message
Add query `sextant audit`, and add metadata to Sextant programs (user id, username, date).
Description of the change
Add simple auditing of who is doing what with Sextant, by attaching to each program node a username (derived from the operating system), a user-id as returned by getuid, and a date-of-upload.
Add a new query, `sextant audit`, to make use of this.
To post a comment you must log in.
Couple of minor style new lines sorry :)
Also wit the neo4j connection ensure if you remove the nargs that you also remove the indexing