Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

WIP: Update manual setup process#124

Open
bkmgit wants to merge 32 commits intofedora-infra:masterfrom
bkmgit:master
Open

WIP: Update manual setup process#124
bkmgit wants to merge 32 commits intofedora-infra:masterfrom
bkmgit:master

Conversation

@bkmgit
Copy link

@bkmgit bkmgit commented Oct 4, 2019

Add more details on manual setup process.

Replace occurrences of yum with dnf.

Copy link

@cverna cverna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one small comment

@cverna
Copy link

cverna commented Oct 4, 2019

Looks good :-), It would be good to squash the 8 commits into a single one so that you keep a cleaner history. Here is a good guide on how to do that --> https://stackabuse.com/git-squash-multiple-commits-in-to-one-commit/

@bkmgit
Copy link
Author

bkmgit commented Oct 4, 2019

Ok - will squash commits. For whatever reason, the build on Python 3.4 seems to fail - though no code changes have been made.

@cverna
Copy link

cverna commented Oct 4, 2019

Ok - will squash commits. For whatever reason, the build on Python 3.4 seems to fail - though no code changes have been made.

It is ok to ignore, the failure is due to a version conflict for one of the dependency. TBH we should not test on Python 3.4, Python 3.5 and Python 3.6 and target directly Python 3.7

@bkmgit
Copy link
Author

bkmgit commented Oct 4, 2019

Added separate pull request, #125 with changed tests.

@cverna
Copy link

cverna commented Oct 4, 2019

Added separate pull request, #125 with changed tests.

Merged :-)

@bkmgit bkmgit changed the title Update manual setup process WIP: Update manual setup process Nov 10, 2019
@jontrossbach
Copy link

@bkmgit I just made a PR to your fork. Perhaps, the changes I made should be included in this pull.

Copy link

@jontrossbach jontrossbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please read my comment in the conversation of this PR

@jontrossbach
Copy link

@bkmgit I think the changes you made on top of my changes broke the dev-env set up. It appears that Fedora 32 no longer has an rpm named rpm-python and it is breaking the Ansible playbook that is run from the Vagrantfile. Could you try setting up a dev-env on your machine an telling me if you run into the same issue?

Copy link

@jontrossbach jontrossbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell, this branch is ready to be pulled in now.

@pypingou
Copy link
Member

The commit history for this PR needs to be cleaned up a little bit before we merge it. The PR needs to be rebased and the commits that belong together be squashed.

@pypingou
Copy link
Member

So 2 comments to address and once this is done and the history cleaned up a little, I think this can get in :)

@bkmgit
Copy link
Author

bkmgit commented Jul 1, 2020

@pypingou Squashed commits and addressed the 2 comments. Hopefully ok to merge this pull request.

Started on using OIDC in another branch:
https://github.com/bkmgit/nuancier/tree/newauth
changes in
https://github.com/bkmgit/nuancier/blob/newauth/nuancier/__init__.py

@pypingou
Copy link
Member

pypingou commented Jul 2, 2020

@bkmgit I'm seeing 33 commits in this PR and it looks like the branch is now conflicting, so I think there is still some work to do ;-)

- "3.4"
- "3.5"
- "3.6"
- "3.7"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why removing the old py3 version? Are we making any changes here that bump the minimum version of python required? (Cf also the minimum version set in the README below).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pypingou Thanks for the feedback. Using python 3.7 as per suggestion by CVerna.

pypingou and others added 6 commits July 2, 2020 11:44
Previously, the ``WTF_CSRF_TIME_LIMIT`` setting was not in the default
configuration, nor was it documented. It also only worked in
flask-wtf-0.10.1+, which is not available in EPEL7. This makes it both
work in EPEL7's version (0.8) and documents the setting.

fixes fedora-infra#78

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
Depending on how the tests were run, the test for the pictures endpoint
would fail because the path to the pictures folder would be incorrectly
calculated since it could be relative. This ensures the path is always
absolute.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
I very briefly fiddled with running the tests on 2.6, but decided it
wasn't worth the effort. However, I neglected to add the modified
.travis.yml file when I updated fedora-infra#108 so this fixes that.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
pypingou and others added 26 commits July 2, 2020 11:44
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Included the tests

Make the tests against 3.4 and 3.5 not allowed to fail anymore

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This will allow to plan some time between the end of the submission
phase and the start of the voting phase.

Add an alembic migration script to add the submission_date_end field
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Python 3 treats old style exceptions as syntax errors but new style exceptions work as expected in both Python 2 and Python 3.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
… statement

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
…ute.

Update README.rst

Remove broken link to image that was at

.. image:: http://shieldkins.elrod.me/fedora/nuancier

Update README.rst

Add git to things to install

Update development.rst

Update development.rst

Change yum to dnf

Update deployment.rst

Change yum to dnf, however not clear which system wide repositories nuancier is in.

Update README.rst

Update manual install directions

Update README.rst

improve formatting

Update README.rst

formatting fixes, update information on requirements

Update README.rst

Co-Authored-By: Clement Verna <cverna@users.noreply.github.com>

Update development.rst

Update development.rst

Change yum to dnf

Update deployment.rst

Change yum to dnf, however not clear which system wide repositories nuancier is in.

Update Vagrantfile.example

Use Fedora 30 image instead of Fedora 25

Update main.yml

Use Python3
Update to use loop syntax

Update Vagrantfile.example

Remove , sshfs_opts_append: "-o nonempty" since the nonempty option is no longer available.

Update Vagrantfile.example

Use Python3 in Vagrant example file
Change print statement to be compatible with Python 3
update test requirements

remove Python2 from rpm dependencies

change dependency from rpm-python to python3-rpm

update travis ci file to use only python 3.7

Update Vagrantfile.example

Use Fedora 32 image instead of Fedora 25

change dependency from rpm-python to python3-rpm

update test requirements

remove Python2 from rpm dependencies

change dependency from rpm-python to python3-rpm

update travis ci file to use only python 3.7

Update Vagrantfile.example

Use Fedora 32 image instead of Fedora 25

Update README.rst

Remove broken link to image that was at

.. image:: http://shieldkins.elrod.me/fedora/nuancier

Update README.rst

Add git to things to install

Update development.rst

Update development.rst

Change yum to dnf

Update deployment.rst

Change yum to dnf, however not clear which system wide repositories nuancier is in.

Update README.rst

Update manual install directions

Update README.rst

improve formatting

Update README.rst

formatting fixes, update information on requirements

Update README.rst

Co-Authored-By: Clement Verna <cverna@users.noreply.github.com>

Update development.rst

Update development.rst

Change yum to dnf

Update deployment.rst

Change yum to dnf, however not clear which system wide repositories nuancier is in.

Update Vagrantfile.example

Remove , sshfs_opts_append: "-o nonempty" since the nonempty option is no longer available.

Fedora 32 no longer supports rpm-python, updated to python3-rpm which seems to cover everything rpm-python was doing
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants