YunoHost-Apps / searx_ynh

Searx package for YunoHost
https://searx.github.io/searx/
GNU General Public License v3.0
20 stars 17 forks source link

Fix stretch #28

Closed maniackcrudelis closed 6 years ago

maniackcrudelis commented 6 years ago

Problem

Solution

PR Status

Work finished. Package_check, basic tests and upgrade from last version OK.
Could be reviewed and tested.

Validation


Minor decision

alexAubin commented 6 years ago

Does it still work on jessie though ?

maniackcrudelis commented 6 years ago

Yes, sorry I forgot to say that I have also tried on jessie.

JimboJoe commented 6 years ago

Got this during upgrade (on Jessie):

+ sudo yunohost app setting searx checksum__etc_nginx_conf.d_ortest.noho.st.d_searx.conf --value=ebe9da51f76020e9990e1608c81657e4 --quiet
+ ynh_system_user_create searx
+ ynh_system_user_exists searx
+ getent passwd searx
+ rm -r /opt/yunohost/searx/lib/python2.7/site-packages/pip /opt/yunohost/searx/lib/python2.7/site-packages/setuptools /opt/yunohost/searx/lib/python2.7/site-packages/setuptools-38.2.4.dist-info /opt/yunohost/searx/lib/python2.7/site-packages/pip-9.0.1.dist-info
+ virtualenv --system-site-packages /opt/yunohost/searx
Overwriting /opt/yunohost/searx/lib/python2.7/site.py with new content
New python executable in /opt/yunohost/searx/bin/python
Warning: Traceback (most recent call last):
Warning:   File "/usr/local/bin/virtualenv", line 11, in <module>
Warning:     sys.exit(main())
Warning:   File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 713, in main
Warning:     symlink=options.symlink)
Warning:   File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 925, in create_environment
Warning:     site_packages=site_packages, clear=clear, symlink=symlink))
Warning:   File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 1370, in install_python
Warning:     os.symlink(py_executable_base, full_pth)
Warning: OSError: [Errno 17] File exists
maniackcrudelis commented 6 years ago

Do you think it would be link to this PR ? Was it an upgrade from the current version to this PR ?

JimboJoe commented 6 years ago

Shouldn't be linked to this PR, and didn't have the chance to reproduce as I lost my VM...

Josue-T commented 6 years ago

Do you think it would be link to this PR ? Was it an upgrade from the current version to this PR ? Shouldn't be linked to this PR, and didn't have the chance to reproduce as I lost my VM...

I purpose to add a test of upgrade from an old version in the CI, it could be good to check if we can reproduce this bug.

maniackcrudelis commented 6 years ago

I purpose to add a test of upgrade from an old version in the CI, it could be good to check if we can reproduce this bug.

Feel free to update this PR with this test ;) However, that's the purpose of the test "Upgrade previous version". So it's done for this PR. But, if this option is added to the check_process, we can ignore this test.

alexAubin commented 6 years ago

Bumpity bump, any update on this ?

maniackcrudelis commented 6 years ago

We're still waiting for a last approval.

maniackcrudelis commented 6 years ago

Thanks Josue-T ;)

Will be merged in 3 days.

maniackcrudelis commented 6 years ago

Do you think guys that we need to ask to the community to try this testing release ? I don't think that it's going to affect anyone, would probably be better to wait for something more interesting to try.

JimboJoe commented 6 years ago

Agreed.