Comment 4 for bug 1004505

Revision history for this message
Jonathan Lange (jml) wrote : Re: [Bug 1004505] Re: [cmake] pkgme.info_elements.InvalidInfoError: Package name must be at least two characters long: ''

On 30 May 2012 08:13, Daniel Holbach <email address hidden> wrote:
> I just dug around in the code of this specific project and found:
>
> /Doxyfile:PROJECT_NAME           = Songbook-Client
> ./cmake/songbook-client-config.cmake:set(PROJECT_NAME songbook-client)
>
> Maybe these files could be used somehow to extract the information, if
> they exist? I don't know if pkgme's design has any room for "clues"...

Not exactly. There's a sense in which everything is a clue, because
hardly anything is explicitly specified.

The way to do this is to have the backend do the looking (see
lp:pkgme-devportal for some examples). It might be nice for pkgme to
have some sort of structure for guesswork.

jml