public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: subversion.eclass
       [not found] <E1M3FiM-0001ly-Cy@stork.gentoo.org>
@ 2009-05-11  5:43 ` Donnie Berkholz
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2009-05-11  5:43 UTC (permalink / raw
  To: gentoo-dev, arfrever

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

On 20:33 Sun 10 May     , Arfrever Frehtes Taifersar Arahesis (arfrever) wrote:
> arfrever    09/05/10 20:33:38
> 
>   Modified:             subversion.eclass
>   Log:
>   Add possibility of not including Subversion in DEPEND.
>   Run 'svn upgrade' to automatically upgrade working copies.

A good entry also explains the *reason* for doing something. Anyone 
could read the code and see what changed, but the person making the 
change is the only person who knows exactly why.

> Revision  Changes    Path
> 1.67                 eclass/subversion.eclass
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/subversion.eclass?rev=1.67&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/subversion.eclass?rev=1.67&content-type=text/plain
> diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/subversion.eclass?r1=1.66&r2=1.67

> -EXPORTED_FUNCTIONS="src_unpack pkg_preinst"
>  case "${EAPI:-0}" in
> -	2) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;;
> -	1|0) ;;
> -	*) die "Unknown EAPI, Bug eclass maintainers." ;;
> +	0|1)
> +		EXPORT_FUNCTIONS src_unpack pkg_preinst
> +		;;
> +	*)
> +		EXPORT_FUNCTIONS src_unpack src_prepare pkg_preinst
> +		;;
>  esac

Might this have been worth mentioning in the commit entry?

-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-11  5:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1M3FiM-0001ly-Cy@stork.gentoo.org>
2009-05-11  5:43 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: subversion.eclass Donnie Berkholz

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