public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] questions about small fixes/cleanups
@ 2016-09-13 18:57 Michael Mair-Keimberger
  2016-09-13 19:21 ` M. J. Everitt
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Michael Mair-Keimberger @ 2016-09-13 18:57 UTC (permalink / raw
  To: gentoo dev mailing list

[-- Attachment #1: Type: text/plain, Size: 4037 bytes --]

Hello Gentoo-Team,

For some time now I'm trying to help improve the gentoo tree. I've
started with fixing some HOMEPAGE variables in ebuilds and now removing
obsolete patches from packages.
Usually (especially with obsolete patches) it's quite simple to fix
things, however every now and then i find some "special" cases were i
don't know whats correct way to fix it.
Even though i could ask on irc, I'm usually to lazy and now there are a
few question were i would like to have an answer for. :)

Homepages:
* Dead homepages: I know there is this general rule of pointing to the
	No_homepage wiki page if there is no upstream homepage. However, 
	when I fixed some homepage's i usually used an archived [1] homepage
	of the original homepage. While for some dev's this isn't a
	problem, others do not like the idea.
	Personally i would prefer having some homepage rather than no
	homepage at all. It would be nice to have a clear statement 
	about that.
* Waiting time: I couldn't find any references of how long to wait until
	a homepage can be changed because it's offline. Usually i would
	check for bugs, because if the bug is already quite old and the
	homepage is still offline it's safe to say we can change them.
	However, i also have an script which checks for offline
	homepages. But since a homepage can be temporally offline or just
	not available from my side of the internet i would like to know
	how long i should wait until i can fix it. I think 1 month
	would be a good start?
* Redirection: There are quite a few pages which aren't exactly offline,
	but only forward the request to the current homepage. (like most
	of the gentoo project pages). I haven't touch them yet, but i
	would like to know if fixing them would be appreciated?
* old ebuilds: It's often the case that if a homepage get's changed,
	older versions of the ebuild still use the old homepage. While
	it looks like portage/eix always show's the homepage of the
	newest ebuild i would like to know if older versions should be
	updated as well. Especially if only the homepage gets changed
	which usually doesn't require a reversion bump.

Patches:
* Wildcard patching: Usually i use my "patchtest" script for finding
	obsolete patches and while it still finds lots of false
	positives i also saw a rather odd patching style: Patching via
	wildcards. For example: 
	epatch "${FILESDIR}"/${P}*.patch
	I looks a bit unsafe to use wildcards for patching, but I
	couldn't find anything which forbids it. Would be nice to know
	if that is ok.
* scripts in FILESDIR: In some packages i found scripts which doesn't
	get used by the ebuild, but is probably used for generating
	patches/tarballs. Should i file a bugs about them as i though the
	FILESDIR should be only used for patches. Wouldn't be
	/etc/portage/scripts the perfect place for such scripts?

Metadaa:
* metadata.xml: In order to find the correct maintainer for PR's I've
	opened on github i also wrote a simply python scripts which 
	extract's the metadata.xml files.
	Regarding GLEP 68 a name isn't required for a maintainer. However,
	if i see only a e-mail address in one package, the same e-mail in
	another package but also with a name, is it appreciated to fix
	the first package?

I hope those questions aren't too stupid and i hope i can get some
answers as it would make some decisions a bit easier..
Also please don't judge my English, it's not the best :)

Furthermore i also suggest creating a wiki page for people who look for
simple tasks were they can help improve gentoo.
After all, removing obsolete patches or update HOMEPAGE variables isn't
really difficult, but it's a nice start to get involved. - and those are
just two tasks, which btw are already quite heavy. (it's about 2 months now
since i look for obsolete patches, and I'm now at dev-python...).
I know i could start that by myself, but I'm really bad at wikis :D


[1] http://libarchive.org/

-- 
greetings
Michael Mair-Keimberger

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2016-09-19 10:06 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-13 18:57 [gentoo-dev] questions about small fixes/cleanups Michael Mair-Keimberger
2016-09-13 19:21 ` M. J. Everitt
2016-09-13 23:25 ` Daniel Campbell
2016-09-13 23:49 ` Michael Orlitzky
2016-09-14  2:55   ` Kent Fredric
2016-09-14  5:54   ` Ulrich Mueller
2016-09-14 12:45     ` Michael Orlitzky
2016-09-14 13:21       ` Alexis Ballier
2016-09-14 13:38         ` Michael Orlitzky
2016-09-14 13:50           ` Alexis Ballier
2016-09-14 13:53             ` James Le Cuirot
2016-09-14 13:55               ` James Le Cuirot
2016-09-14 14:14                 ` Kent Fredric
2016-09-14 14:32                 ` Alexis Ballier
2016-09-14 14:04             ` Michael Orlitzky
2016-09-14 14:41               ` Alexis Ballier
2016-09-14 16:20                 ` Kent Fredric
2016-09-14 20:13                   ` Ian Stakenvicius
2016-09-19  7:51         ` Daniel Campbell
2016-09-19  7:55           ` Kristian Fiskerstrand
2016-09-19  8:00             ` Chí-Thanh Christopher Nguyễn
2016-09-19 10:06               ` Kristian Fiskerstrand
2016-09-19  8:26           ` Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox