Looks like something went wrong when merging https://pagure.io/pagure/pull-request/1738 and this didn't get merged correctly so here it is.
It would be nice to introduce this section before we talk about alembic config files. i.e. Move this paragraph to before we start using alembic.
alembic
Rest looks good :) :thumbsup:
:thumbsup:
Good call
1 new commit added
rebased
@cep want to have a final look?
alembic to know and apply
I'm not completely sure, but it looks like the database URL is replaced by the one in pagure's config, irrespective of whether it is present in alembic.ini. Whereas, the docs say it is only replaced when missing.
alembic.ini
Is that right, or did I miss something?
Looks like this is just createdb.py (not pagure_createdb.py) now?
createdb.py
pagure_createdb.py
indeed :)
It is installed as pagure_createdb.py by the spec file, I do see the problem for user who installed outside of the RPM. I guess this might deserve a .. note::
.. note::
You're reading this right because the doc is referring to the changes in env.py rather than the changes here. Do you think we should we try to get the url and only replace it if it's missing?
Yes, if you cloned the source, then it's just createdb.py. +1 for adding a note :)
That would work! :)
@pingou Sorry, I don't know how I missed the notification about your comments. This should be good to go after the couple of minor changes mentioned :)
Jenkins is failing due to faitout :(
Need another rebase and :ship: it
@pingou we should rebase and merge this PR. I just tested it again to setup the docker-compose environment.
Once this is merged it it will be easy to fix #2719 :smile:
rebased onto e307d74092ec81db29c06094d3e18e040f906e27
Let's go ahead and do it then :)
Pull-Request has been merged by pingou
Looks like something went wrong when merging https://pagure.io/pagure/pull-request/1738
and this didn't get merged correctly so here it is.