dupdp-admin(1)

πŸ“¦
version 2.36.0 Β· 2 versions
, in ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ NAME πŸŽ€

okay so dupdb-admin β€” she's the girl who manages the duplicate database for apport-retrace. that's the whole job description, bestie πŸ’…

(this page lives in section 1 of the General Commands Manual, and if you squint at the header it says dupdp-admin(1) β€” we are not gonna talk about it, the NAME section knows the truth 🫢)


✨ SYNOPSIS ✨

dupdb-admin -f dbpath dump

dupdb-admin -f dbpath changeid oldid newid

dupdb-admin -f dbpath publish path

πŸ¦‹ DESCRIPTION πŸ¦‹

so apport-retrace(1) can check for duplicate bugs (amongst other things, she contains multitudes πŸ’œ). to keep track of master bugs she uses an SQLite database, and dupdb-admin is the tiny little tool that manages that database. main character energy but make it small ✨

the central concept in that database is a "crash signature" β€” a string that uniquely identifies a particular crash. it's built from three things:

  • the executable path name
  • the signal number or the exception name
  • the topmost functions of the stack trace

the database maps crash signatures to the 'master' crash id, which means it can close duplicate crash reports with a reference to that master ID. slay, no cap. πŸŽ€

it also tracks the status of crashes (open / fixed in a particular version) so it can identify regressions. it's giving record-keeper, it's giving historian 🌸


πŸ’« MODES πŸ’«

  • dump β€” print a list of all the database entries. the whole vibe check, every row, no skips πŸ‘‘
  • changeid β€” change the associated crash ID for a particular crash. one lil glow-up for one lil crash πŸ’…
  • publish β€” export the duplicate database into a set of text files in the given directory, which is suitable for WWW publishing. if the directory already exists, it will be updated. the new content is built in a new directory which is the given one with .new appended, then moved to the given name in an almost atomic way. so glamorous, so careful πŸ¦‹

🌸 OPTIONS 🌸

  • -f path, --database-file=path β€” path to the duplicate database SQLite file. that's it, that's the option, she's lowkey the only one and she knows it πŸ’–

πŸ‘‘ AUTHOR πŸ‘‘

apport and the accompanying tools are developed by Martin Pitt <martin.pitt@ubuntu.com>. icon, legend, built different fr fr 🫢


and that's the whole page babes β€” written by Martin Pitt back on August 01, 2007, living in section 1 of the General Commands Manual as dupdb-admin(1). periodt πŸ’…βœ¨πŸŒˆ