Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

www-apps/gitea: bump to 1.10.0 #13696

Closed
wants to merge 1 commit into from
Closed

Conversation

xdch47
Copy link
Contributor

@xdch47 xdch47 commented Nov 18, 2019

Package-Manager: Portage-2.3.76, Repoman-2.3.18
Signed-off-by: Felix Neumärker xdch47@posteo.de

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @xdch47
Areas affected: ebuilds
Packages affected: www-apps/gitea

www-apps/gitea: @nemunaire, @gentoo/proxy-maint

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.

If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Nov 18, 2019
Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

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

Then the customary question: Would you like to maintain this again :)

No big issues here btw, I'm just asking for clarification.

www-apps/gitea/gitea-1.10.0.ebuild Outdated Show resolved Hide resolved
src_prepare() {
default

local sedcmds=(
Copy link
Member

Choose a reason for hiding this comment

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

Why not make this huge list into a patch? Can some of these be upstreamed, I see some are Gentoo-specific?

Copy link
Contributor

Choose a reason for hiding this comment

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

with the removal of the non-needed seds (APP_ID and TRUSTED_FACETS (since 1.8.0) i don't think there is much to upstream, the path stuff is gentoo specific (does EPREFIX expansion even work in a patch?) and so is the logging, HTTP_ADDR used to be localhost via LOCAL_ROOT_URL (i think?) and that was pre-1.0 so i don't think that's what upstream wants either. RUN_MODE will be set to prod when the webinstaller ran successfully so no reason to upstream that either

Copy link
Member

Choose a reason for hiding this comment

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

(does EPREFIX expansion even work in a patch?)

There's a syntax for it that works in a patch, I don't remember it now. $(EPREFIX) or @EPREFIX@ I suppose.

@juippis
Copy link
Member

juippis commented Nov 20, 2019

Tests fail for me, can you get them to work?

--- FAIL: TestBlob_Data (0.00s)
    blob_test.go:39:
        	Error Trace:	blob_test.go:39
        	Error:      	Received unexpected error:
        	            	no such file or directory
        	Test:       	TestBlob_Data
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x7f2669]

So please either fix or restrict them. If you end up restricting, write a comment above what fails and why it's restricted.

@xdch47
Copy link
Contributor Author

xdch47 commented Nov 20, 2019

git access is need for a lot of tests - would it be possible using git-r3 (with EGIT_COMMIT) an option, even so repoman gives LIVEVCS.unmasked ?

@juippis
Copy link
Member

juippis commented Nov 21, 2019

Hmm, I do wonder, some if use test; then inherit git-r3

But I believe it's just overcomplicating things for little benefit. Just add restrict and a comment saying it needs live git access.

@xdch47
Copy link
Contributor Author

xdch47 commented Nov 21, 2019

i just added an additional live ebuild (and remove the test which do not work due to the missing git repo for the »release« version of the ebuild)

@xdch47
Copy link
Contributor Author

xdch47 commented Nov 21, 2019

forgot to fix the depend issue - hopefully now ...

Package-Manager: Portage-2.3.76, Repoman-2.3.18
Signed-off-by: Felix Neumärker <xdch47@posteo.de>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-11-22 17:41 UTC
Newest commit scanned: 01062ec
Status: ✅ good

Issues already there before the PR (double-check them):
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#app-admin/consul
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#app-admin/consul-template
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#app-admin/vault
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#app-antivirus/clamav-unofficial-sigs
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#app-emulation/docker
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#app-emulation/docker-compose
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#app-emulation/lxd
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#app-emulation/reg
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#app-metrics/blackbox_exporter
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#app-misc/remind
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-db/mariadb
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-db/pgbouncer
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-db/postgresql
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-lang/php
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-lang/rust
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-lang/rust-bin
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-perl/MogileFS-Server
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-php/pecl-http
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-php/pecl-redis
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-python/oslo-utils
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-python/prometheus_client
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-ruby/facter
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#dev-util/jenkins-bin
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#mail-filter/rspamd
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#media-libs/assimp
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#media-sound/mpd
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-analyzer/nagios-core
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-analyzer/pypacker
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-analyzer/wireshark
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-dns/avahi
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-dns/unbound
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-mail/notmuch
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-misc/apt-cacher-ng
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-misc/dropbear
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-misc/gerbera
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-misc/memcached
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-misc/scponly
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-proxy/squid
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#net-vpn/tor
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#sys-apps/guix
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#sys-cluster/galera
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#sys-cluster/kube-apiserver
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#sys-cluster/kube-controller-manager
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#sys-cluster/kube-scheduler
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#sys-cluster/nova
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#sys-devel/binutils-hppa64
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#sys-process/cronie
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#www-apps/grafana-bin
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#www-apps/netbox
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#www-servers/nginx
https://qa-reports.gentoo.org/output/gentoo-ci/8b09acf/output.html#x11-libs/fltk

Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

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

Thanks a lot! In future, if everything is ok with the ebuild, merge should be pretty straightforward and fast. Like, latest EAPI, licenses, tests working...

Also I'd like to replace rm -f with || die but won't have time to check the logic (like, do the files exists or not between live and release) so let's go with this for now.

@xdch47
Copy link
Contributor Author

xdch47 commented Nov 24, 2019

yes, the rm -f could have been replaced by rm ... || die - I just added this to make the live ebuild more robust (for the release this is non-sense of course and should have been different - sorry).
or should the live version fail as well if the test are going to be renamed ?

@juippis
Copy link
Member

juippis commented Nov 26, 2019

or should the live version fail as well if the test are going to be renamed ?

I think yes, since it's a clear implication that something has changed in upstream code, requiring maintainer attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits.
Projects
None yet
5 participants