Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S squid
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Debian Squid Maintainers
  • squid
  • Merge requests
  • !11

DEP8 fix: pygopherd and py3 support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Andreas Hasenack requested to merge ahasenack/squid:debian-squid-gopherd-py3 into master Jan 08, 2020
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 3

Hello,

squid is currently failing DEP8 tests in both Ubuntu and Debian. The reason is that pygopherd was removed from Debian unstable and Ubuntu 20.04. Ubuntu has no replacement for a gopher server, so I just dropped that test, and I'm doing the same for Debian.

Also, while going over this, I changed the test to be run with python3, given python2's deprecation.

I ran this branch under lxd in debian/sid and the test passed:

$ time autopkgtest -o debian-dep8 -U -s -B ./squid/ -- lxd images:debian/sid
...
Enabling module ssl.
See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
  systemctl restart apache2
Enabling site default-ssl.
To activate the new configuration, you need to run:
  systemctl reload apache2
test_daemons (__main__.BasicTest)
Test daemon ... ok
test_ftp_proxy (__main__.BasicTest)
Test ftp ... ok
test_http_proxy (__main__.BasicTest)
Test http ... ok
test_https_proxy (__main__.BasicTest)
Test https ... ok
test_squidclient (__main__.BasicTest)
Test squidclient ... ok
test_zz_apparmor (__main__.BasicTest)
Test apparmor ... ok

----------------------------------------------------------------------
Ran 6 tests in 238.047s

OK
autopkgtest [17:48:45]: test squid: -----------------------]
autopkgtest [17:48:45]: test squid:  - - - - - - - - - - results - - - - - - - - - -
squid                PASS
autopkgtest [17:48:46]: @@@@@@@@@@@@@@@@@@@@ summary
upstream-test-suite  PASS
squid                PASS

real	13m51,277s

Log attached log.gz

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: debian-squid-gopherd-py3