Re: [arch-general] {external, general}ized hooks in key packages [kernel26, ???] (WAS: Re: Reboot - Versioned Kernel Installs)

2011-06-13 Thread David Campbell
Excerpts from Timothy L.'s message of 2011-06-13 15:10:16 -0400:
 ...
 I'm a novice when it comes to this kind of stuff, but adding
 simple hooks doesn't seem to needlessly complicate a user's
 system. It's something a user would never notice unless they
 actually needed to use the functionality it provided.

Just to clarify, when people talk about keeping it simple and the
Arch way, they are not talking about having a simple, clean
interface for the user, they are talking about keeping the system
itself simple, as to reduce the likelihood of bugs, to make
maintenance simpler, to make extending the system easier, etc..
-- 
David Campbell


Re: [arch-general] Why are financial contributions not accepted?

2011-05-01 Thread David Campbell
Excerpts from Ray Kohler's message of 2011-04-30 22:13:24 -0400:
 The donations were done via PayPal and those in charge decided PayPal
 wasn't trustworthy for use by non-profit organizations who don't have
 official government non-profit status.

Have the leadership of Arch considered applying for official
non-profit status or joining an organization such as the Software
Freedom Conservancy[1]?

[1]: http://sfconservancy.org/overview/
-- 
David Campbell


Re: [arch-general] [arch-releng] Default Bootloader for AIF

2011-03-27 Thread David Campbell
Excerpts from Dieter Plaetinck's message of 2011-03-27 10:01:35 -0400:
 If I want to support GPT I will need decent utilities from upstream.
 I know about parted and sgdisk but I need a toolset for:
 - interactive partitioning

Because I was not too happy with doing interactive partitioning
with parted, I started a project [cparted][1]. I thought it was
going to be ready for use soon, but then realized it has some
issues (alignment wrong, fixing alignment had other unwanted side
effects), and am not sure how soon they will be fixed. But this
brings up a couple questions. If cparted is in good working
order, would it be considered for use with AIF? Is having Python
and [pyparted][2] as dependencies OK?


[1]: https://github.com/davekong/cparted
[2]: https://fedorahosted.org/pyparted/

 - scripted partitioning (for auto-installs)

You can run parted in --script mode.

 - the input format for the scripts should be similar/the same whether you use 
 MBR or GPT.

The input format would be the same.
-- 
David Campbell


Re: [arch-general] Default Bootloader for AIF

2011-03-13 Thread David Campbell
Excerpts from Matthew Gyurgyik's message of 2011-03-13 14:01:16 -0400:
 Now that there is Syslinux support in AIF, should AIF select Syslinux as
 the Default bootloader?

Does Syslinux play nicely with parted and GPT disklabels? Should
Arch be trying to move toward a default bootloader that seamlessly
supports GPT disklabels?
-- 
David Campbell


Re: [arch-general] [arch-dev-public] Vi package

2011-02-10 Thread David Campbell
Excerpts from Allan McRae's message of 2011-02-10 17:12:54 -0500:
 Is the current vi package actually usable for an install by someone more
 familiar with it?

Yes, I have used it a few times, and prefer it over nano.
--
David Campbell


Re: [arch-general] [arch-dev-public] away Nov. 15-23 (to NYC)

2010-11-01 Thread David Campbell
Excerpts from Matthew Monaco's message of 2010-11-01 18:59:25 -0400:
 On 10/27/2010 04:55 PM, Dieter Plaetinck wrote:
  Nov. 15-23 I'll be away (I'll be in NY city)
 
  If any Arch dev/user is in the area during that time, let me know, we
  could hook up.
 
  Dieter
 

 I work in Rockefeller Center (49th and 6th).

 Anyone else?

I live in Brooklyn by the President St subway stop (and the
Brooklyn Museum of Art).
--
David Campbell


[arch-general] [ABS][PATCH] Switch Contributor line with Maintainer line.

2010-09-12 Thread David Campbell
This was already done with the prototypes in the pacman repository and should
be done with these as well.
---
 prototypes/PKGBUILD-bzr.proto |2 +-
 prototypes/PKGBUILD-cvs.proto |2 +-
 prototypes/PKGBUILD-darcs.proto   |2 +-
 prototypes/PKGBUILD-git.proto |2 +-
 prototypes/PKGBUILD-gnome.proto   |2 +-
 prototypes/PKGBUILD-haskell.proto |2 +-
 prototypes/PKGBUILD-hg.proto  |4 ++--
 prototypes/PKGBUILD-perl.proto|2 +-
 prototypes/PKGBUILD-rubygem.proto |2 +-
 prototypes/PKGBUILD-svn.proto |2 +-
 10 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/prototypes/PKGBUILD-bzr.proto b/prototypes/PKGBUILD-bzr.proto
index d3e41fe..ac3ecf2 100644
--- a/prototypes/PKGBUILD-bzr.proto
+++ b/prototypes/PKGBUILD-bzr.proto
@@ -6,7 +6,7 @@
 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
 # for more information on packaging from Bazaar sources.
 
-# Contributor: Your Name yourem...@domain.com
+# Maintainer: Your Name yourem...@domain.com
 pkgname=NAME-bzr
 pkgver=VERSION
 pkgrel=1
diff --git a/prototypes/PKGBUILD-cvs.proto b/prototypes/PKGBUILD-cvs.proto
index 520087d..7e93cfd 100644
--- a/prototypes/PKGBUILD-cvs.proto
+++ b/prototypes/PKGBUILD-cvs.proto
@@ -6,7 +6,7 @@
 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
 # for more information on packaging from CVS sources.
 
-# Contributor: Your Name yourem...@domain.com
+# Maintainer: Your Name yourem...@domain.com
 pkgname=NAME-cvs
 pkgver=VERSION
 pkgrel=1
diff --git a/prototypes/PKGBUILD-darcs.proto b/prototypes/PKGBUILD-darcs.proto
index 0c3377c..821c4e2 100644
--- a/prototypes/PKGBUILD-darcs.proto
+++ b/prototypes/PKGBUILD-darcs.proto
@@ -6,7 +6,7 @@
 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
 # for more information on packaging from darcs sources.
 
-# Contributor: Your Name yourem...@domain.com
+# Maintainer: Your Name yourem...@domain.com
 pkgname=NAME-darcs
 pkgver=VERSION
 pkgrel=1
diff --git a/prototypes/PKGBUILD-git.proto b/prototypes/PKGBUILD-git.proto
index 3bbfddb..e00363f 100644
--- a/prototypes/PKGBUILD-git.proto
+++ b/prototypes/PKGBUILD-git.proto
@@ -6,7 +6,7 @@
 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
 # for more information on packaging from GIT sources.
 
-# Contributor: Your Name yourem...@domain.com
+# Maintainer: Your Name yourem...@domain.com
 pkgname=NAME-git
 pkgver=VERSION
 pkgrel=1
diff --git a/prototypes/PKGBUILD-gnome.proto b/prototypes/PKGBUILD-gnome.proto
index 8c7b695..c361501 100644
--- a/prototypes/PKGBUILD-gnome.proto
+++ b/prototypes/PKGBUILD-gnome.proto
@@ -6,7 +6,7 @@
 # See http://wiki.archlinux.org/index.php/Gnome_package_guidelines for more
 # information on Gnome packaging.
 
-# Contributor: Your Name yourem...@domain.com
+# Maintainer: Your Name yourem...@domain.com
 pkgname=NAME
 pkgver=VERSION
 pkgrel=1
diff --git a/prototypes/PKGBUILD-haskell.proto 
b/prototypes/PKGBUILD-haskell.proto
index 6d7322f..cc988f2 100644
--- a/prototypes/PKGBUILD-haskell.proto
+++ b/prototypes/PKGBUILD-haskell.proto
@@ -6,7 +6,7 @@
 # See http://wiki.archlinux.org/index.php/Haskell_package_guidelines for more
 # information on Haskell packaging.
 
-# Contributor: Your Name yourem...@domain.com
+# Maintainer: Your Name yourem...@domain.com
 pkgname=NAME
 pkgver=VERSION
 pkgrel=1
diff --git a/prototypes/PKGBUILD-hg.proto b/prototypes/PKGBUILD-hg.proto
index c589991..f6ee05b 100644
--- a/prototypes/PKGBUILD-hg.proto
+++ b/prototypes/PKGBUILD-hg.proto
@@ -6,7 +6,7 @@
 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
 # for more information on packaging from Mercurial(hg) sources.
 
-# Contributor: Your Name yourem...@domain.com
+# Maintainer: Your Name yourem...@domain.com
 pkgname=NAME-hg
 pkgver=VERSION
 pkgrel=1
@@ -57,4 +57,4 @@ build() {
   ./configure --prefix=/usr
   make
   make DESTDIR=$pkgdir/ install
-} 
+}
diff --git a/prototypes/PKGBUILD-perl.proto b/prototypes/PKGBUILD-perl.proto
index 2f8759a..4aa765b 100644
--- a/prototypes/PKGBUILD-perl.proto
+++ b/prototypes/PKGBUILD-perl.proto
@@ -6,7 +6,7 @@
 # See http://wiki.archlinux.org/index.php/Perl_Package_Guidelines for more
 # information on Perl packaging.
 
-# Contributor: Your Name yourem...@domain.com
+# Maintainer: Your Name yourem...@domain.com
 pkgname=perl-foo-bar
 pkgver=VERSION
 pkgrel=1
diff --git a/prototypes/PKGBUILD-rubygem.proto 
b/prototypes/PKGBUILD-rubygem.proto
index c3b5533..e1768e3 100644
--- a/prototypes/PKGBUILD-rubygem.proto
+++ b/prototypes/PKGBUILD-rubygem.proto
@@ -6,7 +6,7 @@
 # See http://wiki.archlinux.org/index.php/Ruby_Gem_Package_Guidelines for more
 # information on Ruby Gem packaging.
 
-# Contributor: YourName YourEmail AT example DOT com
+# Maintainer: YourName YourEmail AT example DOT com
 pkgname=ruby-GEMNAME
 pkgver=VERSION
 pkgrel=1
diff --git a/prototypes/PKGBUILD-svn.proto b/prototypes/PKGBUILD-svn.proto
index 588423b..b806aca 100644
--- a/prototypes/PKGBUILD-svn.proto

Re: [arch-general] rc.conf man page

2010-08-23 Thread David Campbell
Excerpts from Dave Reisner's message of 2010-08-23 14:59:11 -0400:
 *ROUTES (array)*::
 A list of routes to be created. For each item in this list, the 
 'network'
 service expects to find a variable of the same name to exist 
 providing a
 string of parameters to be passed to the 'route' command in order to 
 create
 the route. Routes can prevented from being created by prefixing with 
 a '!' symbol.

For a variable to be found it must exist, so to exist is
redundant.

The last sentence should read, Routes can be..., not Routes can
prevented..., or better yet, Prevent a route from being created
by prefixing it with a bang (!)..

I like this manpage, although, I am not so sure it is wise to
have a manpage for rc.conf. rc.conf is well commented, and if
there is a manpage, the two will have to be kept in sync with
each other. Having the code with the documentation also makes
understanding the documentation easier. I suggest either adding
to the comments in rc.conf if they are not sufficient, or leaving
out of the manpage information that can already be found in
rc.conf.
-- 
David Campbell


Re: [arch-general] Package changelog

2010-08-23 Thread David Campbell
Excerpts from Evangelos Foutras's message of 2010-08-23 19:28:31 -0400:
 On Tue, Aug 24, 2010 at 12:49 AM, Magnus Therning mag...@therning.org wrote:
  I just found out about the changelog= directive for PKGBUILDs. However I
  can't really find more detailed information about it, e.g. is there a
  specific
  format that I have to follow?
 
  Where can I find more info?
 
  /M
 
 See the manual page for PKGBUILD (i.e.: `man PKGBUILD').

And see /use/share/pacman/ChangeLog.proto for an example of the
layout.

The variable was a feature added with pacman 3.4.0 and the wiki
does not appear to have been updated yet.
-- 
David Campbell


[arch-general] [namcap] [PATCH] Check for packages that should be 'any'

2010-08-01 Thread David Campbell
If a package has no elf files but is not 'any', throw a warning saying that
the package could be 'any'.
---
 Namcap/anyelf.py |   18 ++
 namcap-tags  |1 +
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/Namcap/anyelf.py b/Namcap/anyelf.py
index f3414af..c037ff0 100644
--- a/Namcap/anyelf.py
+++ b/Namcap/anyelf.py
@@ -33,20 +33,22 @@ class package:
def short_name(self):
return anyelf
def long_name(self):
-   return If package is 'any' architecture, check for ELF files
+   return Check for ELF files to see if a package should be 
'any'
+   architecture
def prereq(self):
return extract
def analyze(self, pkginfo, data):
ret = [[], [], []]
-   if pkginfo.arch and pkginfo.arch[0] != 'any':
-   return ret
found_elffiles = []
-
os.path.walk(data, scanelf, found_elffiles)
-   if len(found_elffiles)  0:
-   for i in found_elffiles:
-   ret[0].append((elffile-in-any-package %s, i))
-
+
+   if pkginfo.arch and pkginfo.arch[0] == 'any':
+   if len(found_elffiles)  0:
+   for i in found_elffiles:
+   ret[0].append((elffile-in-any-package 
%s, i))
+   else:
+   if len(found_elffiles) == 0:
+   
ret[1].append((no-elffiles-and-not-any-package, ()))
return ret

def type(self):
diff --git a/namcap-tags b/namcap-tags
index acb8e9c..4040136 100644
--- a/namcap-tags
+++ b/namcap-tags
@@ -47,6 +47,7 @@ missing-license :: Missing license
 missing-maintainer :: Missing Maintainer tag
 missing-checksums :: Missing checksums
 missing-url :: Missing url
+no-elffiles-and-not-any-package :: No ELF files and not an any package
 non-fhs-info-page %s :: Non-FHS info page (%s) found. Use /usr/share/info 
instead
 non-fhs-man-page %s :: Non-FHS man page (%s) found. Use /usr/share/man instead
 not-a-common-license %s :: %s is not a common license (it's not in 
/usr/share/licenses/common/)
--
1.7.1.1