AMO-CHANGELOG(1)

πŸ“¦ version 0.54.2, in debian bookworm, ubuntu jammy

✨ AMO-CHANGELOG(1) ✨

Okay bestie, this is the manual page for amo-changelog, part of the mozilla-devscripts suite πŸ¦‹ Let's get into it!


πŸ’– NAME πŸ’–

amo-changelog is how you fetch the Version History of an addon πŸ“œβœ¨

πŸŽ€ SYNOPSIS πŸŽ€

amo-changelog [options] extension

🌸 DESCRIPTION 🌸

Okay so amo-changelog goes out and grabs the Version History of an addon from the Mozilla Extensions website. It's giving "easy way to include upstream changelogs in Debian packages of Mozilla extensions" πŸ’… Lowkey important, because a lot of the time the changelog isn't in the upstream source code repo, but it is on that website. 😭

The extension argument is the addon's short name, the same one the website uses. For example, the homepage for "Adblock Plus" is https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/, so its short name is adblock-plus. Easy peasy πŸ“

Here's an example for debian/rules (bestie, don't skip this one, it's so cute 🧚):

# if using debhelper
override_dh_installchangelogs:
    dh_installchangelogs debian/upstream/changelog.html
debian/upstream/changelog

.PHONY: get-orig-changelog
get-orig-changelog:
    amo-changelog -p rst adblock-plus

So with this setup you'd end up saving the output files debian/upstream/{changelog.html,changelog} as part of your Debian packaging. Then, whenever you update the package to a new upstream release, you just run debian/rules get-orig-changelog and you're set πŸ’œ

πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help β€” Pulls up a brief help message. Literally the "I'm lost" button πŸ™ˆ
  • -f, --html-file β€” The file to write to. Default: debian/upstream/changelog.html
  • -p, --plain-format β€” Makes a human-readable version of the changelog in the file without the .html extension, using an external program. Your options are text (uses lynx(1)), markdown (uses pandoc(1)), or rst (uses pandoc(1)). Default: none. ✨

πŸ¦‹ AUTHOR πŸ¦‹

Written by Jakub Wilk <jwilk@debian.org> and Ximin Luo <infinity0@pwned.gg> 🫢


That's the whole manual, bestie! πŸ’… This page is for amo-changelog, from the amo-changelog source, dated December 2014. Iconic behaviour, periodt 🌈

πŸ“¦ where this page comes from