tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Naming restrictions for Solaris packages



Joerg Sonnenberger wrote:
   * The name must be no longer than 32 characters (though some
     documentation says that the limit is 9 chars);

This currently affects 221 package names.

I took the package list from ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/README-all.html, stripped off all the version numbers and I only found 27 packages with names that are all too long. They are all Perl packages for what it's worth.

Maybe a heuristic could be to strip lower case letters from words 2 through N-1 in the package name and then concatenate those words into a single word so that p5-CGI-Application-Plugin-ValidateRM becomes p5-CGIAP-ValidateRM and p5-CatalystX-CRUD-Controller-RHTMLO becomes p5-CXCRUDC-RHTMLO? I have picked the worst examples on purpose.

Cheers,
Lloyd

p.s. Here's the list of offenders.

p5-CGI-Application-Plugin-ValidateRM
p5-Catalyst-Authentication-Store-DBIx-Class
p5-Catalyst-Component-ACCEPT_CONTEXT
p5-Catalyst-Component-InstancePerContext
p5-Catalyst-Controller-FormBuilder
p5-Catalyst-Plugin-Authentication
p5-Catalyst-Plugin-Authentication-Store-DBIC
p5-Catalyst-Plugin-Authentication-Store-RDBO
p5-Catalyst-Plugin-Authorization-Roles
p5-Catalyst-Plugin-Session-State-Cookie
p5-Catalyst-Plugin-Session-Store-DBIC
p5-Catalyst-Plugin-Session-Store-Delegate
p5-Catalyst-Plugin-Session-Store-FastMmap
p5-Catalyst-Plugin-Session-Store-File
p5-Catalyst-View-Excel-Template-Plus
p5-CatalystX-CRUD-Controller-RHTMLO
p5-CatalystX-CRUD-ModelAdapter-DBIC
p5-Class-DBI-Plugin-DeepAbstractSearch
p5-Email-MIME-Attachment-Stripper
p5-Finance-Currency-Convert-WebserviceX
p5-MasonX-Request-WithApacheSession
p5-MooseX-Emulate-Class-Accessor-Fast
p5-MooseX-Meta-TypeConstraint-ForceCoercion
p5-Rose-HTMLx-Form-Field-Autocomplete
p5-Rose-HTMLx-Form-Field-PopUpMenuNumeric
p5-Template-Plugin-Clickable-Email
p5-WWW-Pastebin-PastebinCom-Create


Home | Main Index | Thread Index | Old Index