Cookbook · 3 of 3

Get into a feed

In this tutorial we get your signed release into a feed, so users get apk upgrade. A release gives users a download. A feed gives them apk upgrade: the only path that keeps working after they have installed once.

This is what owfeed-packages asks for. Another feed will differ in detail, not in shape.

You want toGo to
Know what the feed requiresTwo things it requires
Get updates without manual reviewPublish a signed manifest
Send the requestThe request
Know what a person still reviewsWhat automation will not do on its own
Know your obligationsWhat you are agreeing to
Test the install from the feedCheck that the channel works
Add badges and point users at the feedShow it in your README · What your users then do

Two things it requires

  1. Your packages must be signed with your own key, and its public half is pinned in the feed. A feed that cannot attribute a package will not publish it.

    The check is in the pipeline, not in the prose: owfeed doctor fails an unsigned package and the tree publishes without it.

    This is step 2, so if you followed it you are done. Send author.pub.pem with the request.

  2. Your description says what the package is, not what it is for. apk info shows it, and it travels into the index. Keep it factual, technical, under 512 bytes.

Publish a signed manifest, and updates land unattended

You publish one of three shapes. It decides how much a person has to do for every future release:

What you publishWhat the signature coversAutomatic updates
owfeed release manifestthe whole inventory: every file, its size and hash, plus the repository and tagyes
signed .apk assetseach asset, but not the list of themyes, while the set of files is unchanged
bare binaries and checksumsnothing: a checksum says the download was not corrupted, never who produced itnever

That is the honest reason to publish a manifest. It is one command, and an update then lands within the hour. Without it, the update waits for somebody to read a notification.

The request

  1. Publish a release with a signed manifest: step 2. The feed verifies it before touching anything.
  2. Open an issue from the Request package publication template. Give the repository, a tag, your public keys and their ids.
  3. A bot checks it within a minute. It checks that the release exists, the manifest verifies against the key you claim, and the format is one the feed reads. If anything is wrong, the bot says what.
  4. A person reviews the key. This is the only manual step, and it cannot be skipped. Pinning a key is the entire trust decision, and the reviewer's name is on the merge.
  5. After that it is automatic. Every tag you push is picked up within the hour.

What automation will not do on its own

Even with everything in place, a person still looks at the changes below. A signature answers did the author publish this, not should this go out unread. An upstream whose release key is stolen signs perfectly.

What you are agreeing to

A feed distributes; it does not review. When you ask it to carry your package, you assert, and remain responsible for:

A package can be suspended at any time, without notice. There is no entitlement to remain in somebody else's feed. The full terms are in the feed's CONTRIBUTING.

Check that the channel works, not only the package

owlab test --release 25.12.5 \
  --feed 'https://repo.owfeed.org/releases/25.12/x86_64/packages.adb' \
  --feed-key ./owfeed-packages.pem \
  --install my-app \
  --assert 'http 200 /cgi-bin/luci/admin/services/mine'

Installing a file proves the package works. Installing it by name out of a signed index proves the channel works:

A file install cannot fail in any of those ways, so it cannot detect them.

Show it in your README

Once a feed carries your package, it publishes two badges for it. The feed generates them from the index it built, so they cannot claim a version nobody can install:

[![owfeed](https://img.shields.io/endpoint?url=https://repo.owfeed.org/badge/my-app.json)](https://owfeed.org/install/)
[![owfeed](https://img.shields.io/endpoint?url=https://repo.owfeed.org/badge/my-app-releases.json)](https://owfeed.org/install/)

What your users then do

Your users run one command, the same for every feed that runs owfeed: wget -qO- <feed>/subscribe.sh | sh.

Point them at the install page rather than writing your own. Your own copy is how a documented URL drifts from a working one.