Re: using polkit

Martin Paljak <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CACsm3DU6FSpokEc0XHmV4eCO55D0qMakwTL=wZrMJFWkNXasNQ@mail.gmail.com>
Hello,

On 21 December 2013 12:00, Ludovic Rousseau <[email protected]> wrote:
> - maybe you should use "org.debian.alioth.pcsc-lite.foobar" instead of
> "org.debian.pcsc-lite.foobar" (with alioth added)

Something I've seen a lot with Java code: package names need to be
unique. One way to accomplish this is to use the inverse of your
domain name (which you "control" thus where you can avoid collisions
in a "free world").

But that's not a requirement, only a "good practice if you can't think
of anything else". The only requirement (to avoid problems) is to not
have collisions in package names. If you think that there will be more
"Debians" where will be "more pcsc-lites", you could need more bits.
But I'm sure there will not be another pcsc-lite, even if there would,
it would have a different name. Thus "org.debian.pcsc-lite" is both
memorable and also enough to avoid collisions.

So my suggestion is to keep it "readable" and "possible to type for
humans". org.sourceforge.projects.bla.users.x.Something. is a
ReallyBadPackageName (or similar).

Note to self and others: don't use DokuWiki as the namespace feature
can make one go taxonomy-crazy.


--
Martin
+372 515 6495
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.