Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 09 22:03

    r4v5 on switch-to-poetry

    Upgrade flask to narrow jinja2 … (compare)

  • May 09 21:53

    r4v5 on switch-to-poetry

    Update pytest to python 3.10-co… (compare)

  • May 08 04:16

    r4v5 on switch-to-poetry

    Make 3.10 a string literal (compare)

  • May 08 04:06

    r4v5 on switch-to-poetry

    Update setup-python action to h… (compare)

  • May 08 04:00

    r4v5 on switch-to-poetry

    Move in dev dependencies Install and use poetry in CI (compare)

  • May 08 03:08

    r4v5 on switch-to-poetry

    Switch to using poetry for depe… (compare)

  • Mar 11 23:26

    dependabot[bot] on pip

    (compare)

  • Mar 11 23:26
    dependabot[bot] closed #881
  • Mar 11 23:26
    dependabot[bot] commented #881
  • Mar 11 23:26
    dependabot[bot] labeled #884
  • Mar 11 23:26
    dependabot[bot] labeled #884
  • Mar 11 23:26
    dependabot[bot] opened #884
  • Mar 11 23:26

    dependabot[bot] on pip

    Bump pillow from 7.2.0 to 9.0.1… (compare)

  • Mar 04 03:10

    abandoned-prototype on main

    Fix two small bugs in officer s… Verify two dependencies (#876) … 867/add markdown incident descr… and 3 more (compare)

  • Mar 04 03:10

    abandoned-prototype on v0.6.6

    (compare)

  • Mar 04 03:10
    abandoned-prototype closed #883
  • Mar 01 04:43
    abandoned-prototype edited #883
  • Mar 01 04:42
    abandoned-prototype review_requested #883
  • Mar 01 04:42
    abandoned-prototype review_requested #883
  • Mar 01 04:42
    abandoned-prototype opened #883
McEileen
@McEileen
I created a .env file where I have all of these variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION, S3_BUCKET_NAME
Fritz Davenport
@fritzdavenport
++ merging py3
McEileen
@McEileen
I stopped the docker web container and I started it again. But I'm still getting this kind of error WARNING: The AWS_ACCESS_KEY_ID variable is not set. Defaulting to a blank string. for all of the above variables
Fritz Davenport
@fritzdavenport
@McEileen do we wanna do mocks for the AWS stuff?
(I'm on my work comp right now and am mildly terrified of using the wrong AWS creds :D )
Mason D.
@r4v5
I would merge that in a heartbeat tbh
redshiftzero
@redshiftzero
@McEileen, hmm try setting the AWS_ACCESS_KEY_ID as an env var (my bad, we added this docker compose dev env some months ago and might not have updated the docs)
McEileen
@McEileen
but I thought this portion of the docker-compose file would take care of things :
AWS_ACCESS_KEY_ID: "${AWS_ACCESS_KEY_ID}"
AWS_SECRET_ACCESS_KEY: "${AWS_SECRET_ACCESS_KEY}"
AWS_DEFAULT_REGION: "${AWS_DEFAULT_REGION}"
S3_BUCKET_NAME: "${S3_BUCKET_NAME}"
@redshiftzero will do
redshiftzero
@redshiftzero
@fritzdavenport: that would be super helpful, see lucyparsons/OpenOversight#171
McEileen
@McEileen
also, I support the mock s3 idea!
redshiftzero
@redshiftzero
hey im goin afk for a bit to do my dishes (lol) so im gonna sign out of the goog hangout room (this miiiight kick out existing people), bbiab
Dan Staples
@dismantl
@McEileen to get those environment variables into docker, I copied the .env file I created into the root directory of the repo (symlink also works), then source .env, followed by make start or docker-compose up -d
int10h
@brianmwaters
my friend and comrade emily is here just doing the "volunteer" tab on OO and getting super excited every time she ID's someone that's not in there already :)
Jack Laxson
@jrabbit
hello :wave:
McEileen
@McEileen
@dismantl thanks! I followed those steps, except I ran make dev instead of make start, and it still didn't work... It also didn't work when I did docker-compose up. I'm working on Mason on postgres stuff now, but I'll try to figure it out again later.
Fritz Davenport
@fritzdavenport
@redshiftzero or @anyone - we got an issue on /cop_face/image... - we are cropping the image appropriately and sometimes it rotates the image off what we were looking at and zooms in incorrectly on the profile. Is that a known bug?
Jack Laxson
@jrabbit
does the docker dev/prod stuff need love?
I notice there's a browser being installed into the web container?
Mason D.
@r4v5
there isn't currently a prod docker container. The dev container does have firefox installed in it, because it runs integration tests with selenium, but the prod container probably doesn't need that :)
Fritz Davenport
@fritzdavenport
K U B E R N E T E S
:D
D E V O P S
Jack Laxson
@jrabbit
well I could refactor that into a seperate image that depends on web
Mason D.
@r4v5
please, this is what i do to relax and get away from k8s :)
Fritz Davenport
@fritzdavenport
k8s is bae....8s...
Jack Laxson
@jrabbit
I like my smol compose stacks and such :O
Fritz Davenport
@fritzdavenport
Sometimes I just like to boot EC2s and just apt-get install things to feel something again
Jack Laxson
@jrabbit
anywho if you havethe default setups the perms get kinda fucky
ah great got it to work :)
redshiftzero
@redshiftzero
hey mind if I rebase #566 @McEileen ? [asking in case you are already doing this]
McEileen
@McEileen
@redshiftzero go for it! I just went "OOF" out loud after looking at the git history
redshiftzero
@redshiftzero
ha no worries
Fritz Davenport
@fritzdavenport
can anyone save me from myself? I am trying to get off my work git creds. my --global git creds are set up correctly
Jack Laxson
@jrabbit
you should be able to check whats up with git config itself maybe?
Mason D.
@r4v5
I don't quite get your question; are you asking re: github code pushes (which is ssh key based) or re: commits (which can have authorship amended by something like git commit --amend --author 'Totally Not Doing NonWork Things on Work Laptop Person <ValuableEmployee@earthlink.net>')
Fritz Davenport
@fritzdavenport
ohhhhhh @r4v5 wicked smart. Didn't think about the ssh key
Jack Laxson
@jrabbit
ya you can set your author ezpz in .git/config
Fritz Davenport
@fritzdavenport
I think that's the problem
also - can I snag push perms for https://github.com/fritzdavenport
redshiftzero
@redshiftzero
you can fork the repo and make a PR that way (by default maintainers can push to your remote, so we can collaborate that way)
Fritz Davenport
@fritzdavenport
ooooo. smart
danks :D
Fritz Davenport
@fritzdavenport
@here does flake8 currently work on master?
and by master I mean dev?
Jack Laxson
@jrabbit
it doesn't like install it locally for you no
redshiftzero
@redshiftzero
if you install the requirements in dev-requirements.txt, running flake8 should return 0
Fritz Davenport
@fritzdavenport
$ pwd 
/home/<me>/OpenOversight/OpenOversight
 $ flake8
./manage.py:30:46: E999 SyntaxError: invalid syntax
./db_backup.py:6:26: E999 SyntaxError: invalid syntax
./app/auth/utils.py:20:17: W504 line break after binary operator
./app/main/forms.py:34:6: W605 invalid escape sequence '\w'
./app/main/forms.py:38:6: W605 invalid escape sequence '\w'
./app/main/forms.py:63:6: W605 invalid escape sequence '\w'
./app/main/forms.py:68:6: W605 invalid escape sequence '\w'
./app/main/forms.py:85:6: W605 invalid escape sequence '\w'
./app/main/forms.py:95:6: W605 invalid escape sequence '\w'
./app/main/forms.py:99:6: W605 invalid escape sequence '\w'
./app/main/forms.py:152:6: W605 invalid escape sequence '\w'
./app/main/forms.py:154:6: W605 invalid escape sequence '\w'
./app/main/forms.py:156:6: W605 invalid escape sequence '\w'
./app/main/forms.py:164:6: W605 invalid escape sequence '\w'
./app/main/forms.py:166:6: W605 invalid escape sequence '\w'
./app/main/forms.py:199:6: W605 invalid escape sequence '\w'
./app/main/forms.py:202:6: W605 invalid escape sequence '\w'
./app/main/forms.py:205:6: W605 invalid escape sequence '\w'
./app/main/forms.py:216:6: W605 invalid escape sequence '\w'
./app/main/forms.py:232:6: W605 invalid escape sequence '\w'
./app/main/forms.py:285:7: W605 invalid escape sequence '\d'
./app/main/views.py:166:39: W504 line break after binary operator
./app/main/views.py:167:40: W504 line break after binary operator
sorry if I didn't rtfm
YO I DID MY FIRST OPEN SOURCE PR THO