glaubitz / dlocate

Program to query debian package information from a database
2 stars 1 forks source link

Miscellaneous Bugs and Revisions #1

Open brbsix opened 9 years ago

brbsix commented 9 years ago

Hey glaubitz,

I have a question, are you currently releasing non maintainer updates to dlocate? I found problems with --word-regexp, --basic-regexp, and -s (when used in combination with --basic-regexp).

I've committed fixes to all of the above to the develop branch of my fork @ https://github.com/brbsix/dlocate/tree/develop

I scoured through the rest of dlocate it to modernize and streamline wherever possible.

A few additional options were added. One of them spurned out of my desire to simply return the owner of a file. I.e. on my system the command dlocate --package-only -S '/bin/open' returns 5 different packages. dlocate --package-only -S '^/bin/open$' returns none. Forgoing the ^ isn't reliable either (as it might return the owner of /usr/local/bin/open).

So I added additional options: -p List all records where the package name matches PATTERN -e List all records where the filename matches STRING exactly

Feel free to incorporate any/all of it into updates to dlocate. Let me know if you'd like me to do a pull request.

Regards, Six

glaubitz commented 9 years ago

On 03/06/2015 07:58 AM, Six wrote:

I have a question, are you currently releasing non maintainer updates to dlocate? I found a few problems with --word-regexp, --basic-regexp, and with -s (when used in combination with --basic-regexp).

(snip)

Sounds very good. Let's merge all your changes into the Debian package then. I am currently a bit busy with other stuff, but we can definitely do that.

Cheers, Adrian

.''. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org . ' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de - GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

brbsix commented 9 years ago

Great! I just submitted a pull request. I'm not really familiar with official packaging standards so I didn't mess with changelog. I bumped up version to 1.1 in the dlocate script itself but you may want to change it.

glaubitz commented 9 years ago

On 03/10/2015 01:29 AM, Six wrote:

Great! I just submitted a pull request. I'm not really familiar with official packaging standards so I didn't mess with changelog. I bumped up version to 1.1 in the dlocate script itself but you may want to change it.

Yes, thanks for not messing with the Debian part. This should be my part if I am going to upload the package. I will look at it tomorrow or so as I am currently on a trip.

.''. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org . ' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de - GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913