Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Hal Wine 16011bd29b Add ACL checks & py3 notebook
- now checks for inclusion of ldap name and github login committed into
  any repo. These are sometimes ACL permissions. Output is the searches
  containing hits -- some human will need to evaluate.

- Docker image creation is now done from a checkout -- that avoids
  inclusion of cruft files in the developer's working tree.

- Main notebook is now fully python3
2021-08-04 18:11:43 -07:00
Hal Wine cb5a0f93cb
Works from fresh checkout
There were a few problems that were masked by missing conda/jupyter
config files. Those are added now. They would be "fixed" in my working
instances when using `make run-update` as the configuration changes were
saved in my local directory for use next time. This caused "good" images
to only be buildable from my working directory, and not from others.

Rearranged some conda & jupyter config files to unclutter root dir.
  - `repo2docker` config files are now in directory `binder` (name
    forced by tool)
  - Notebook moved to directory `notebooks`, which is the root of the
    jupyter server started by the instance.

Requirements file was out of date -- so let's force folks to use poetry.
:)
2021-07-30 14:18:15 -07:00
Hal Wine c3f4690aae
Hwine/py2 docker image (#74)
* Install pre-commit & initial run

* Add targets for repo2docker usage

* Switch to ipywidgets data entry for email

    This change minimizes the chance of committing the notebook with PII
    in it.

    This moves the entered text to an "output" section of the cell,
    which must be removed before commit (enforced by pre-commit
    filters).

    It also makes the workbook easier to use, as you no longer have to
    worry about messing up the python string formatting.

* Improved limit exhaustion reporting

* working using docker

* Combine phrases into paired tokens

    No GitHub login has embedded spaces. So don't try to find one (404
    error). Create possible logins by concatinating the tokens.

* Working with extensions installed.

* Update jupyter notebook

misc fixes

* update docs

* Install of all needed extensions now works

* Purge docker images that are being replaced.

* General cleanup

    - formatting much cleaner now, so can copy/paste to email
    - addressed several unicode issues - text output would throw
    - reorganized cell hierarchy for shorter scrolling

* Fix detecting if any permissions found

    The old test (# lines returned) became invalid when the report
    formatting was done. All positive hits now contain "FOUND!". Absense
    of that token mean no matches.

* Updated tests & orgs

* Tune cache sizes

    Also added some cells to debug cache issues. They must be manually
    run.

* team_update.py creates team if needed

* some cleanup highlighted by vs-code

* Support for reading EML file added.

* Added CIS lookup of verified GitHub login

* Update README

* wip - now building with all extensions operable

    Needed to pin the conda environments by exporting environment from
    working image, then using that to recreate what we need after
    repo2docker does the framework.

    * Commit conda envronment files

    * Tweaks for fully functioning docker build
2021-07-28 15:20:43 -07:00
Hal Wine 62a28ac8da
Update to Python 3 (#69)
Also remove use of .credentials file
2021-05-01 14:08:35 -07:00