Skip to content

Commit

Permalink
Release v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Sep 3, 2021
1 parent 47cc185 commit 8b7a63e
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 111 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "asdf"
version = "0.1.0"
version = "0.1.1"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=i-probably-didnt-backdoor-this
pkgver=0.1.0
pkgver=0.1.1
pkgrel=1
arch=('x86_64')
makedepends=('cargo')
Expand Down
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,16 @@ this checksum:

```sh
$ b2sum target/x86_64-unknown-linux-musl/release/asdf
abdac109cfe060fdf59e7196b11b39be623da148cb03fe47973edab5f28a708ab2bfe02a1785c0a907d0cb3d1cb4d7baf66d155b317af9b0452fb9cb1de895a9 target/x86_64-unknown-linux-musl/release/asdf
cd112870cdf12052e5604e7559e45f95cac4e52a45e91c9d9285a22a82c6392e95fbf0dc5f784837e7769a3ce14c898c866a85e4d60b051d3416875e301e28aa target/x86_64-unknown-linux-musl/release/asdf
```

Downloading and hashing the pre-compiled binary from the [releases
page](https://github.com/kpcyrd/i-probably-didnt-backdoor-this/releases) should
give you an identical hash:

```sh
$ curl -LsS 'https://github.com/kpcyrd/i-probably-didnt-backdoor-this/releases/download/v0.1.0/asdf' | b2sum -
abdac109cfe060fdf59e7196b11b39be623da148cb03fe47973edab5f28a708ab2bfe02a1785c0a907d0cb3d1cb4d7baf66d155b317af9b0452fb9cb1de895a9 -
$ curl -LsS 'https://github.com/kpcyrd/i-probably-didnt-backdoor-this/releases/download/v0.1.1/asdf' | b2sum -
cd112870cdf12052e5604e7559e45f95cac4e52a45e91c9d9285a22a82c6392e95fbf0dc5f784837e7769a3ce14c898c866a85e4d60b051d3416875e301e28aa -
```

If you get the same checksum you've successfully reproduced the binary. If
Expand Down Expand Up @@ -162,13 +162,13 @@ sudo buildah bud --timestamp 0 --tag asdf
[2/2] COMMIT asdf
Getting image source signatures
Copying blob bc276c40b172 skipped: already exists
Copying blob 358fb8c18c87 [--------------------------------------] 0.0b / 0.0b
Copying config 950be5f14e done
Copying blob 7d377d49a080 done
Copying config f0b71b1591 done
Writing manifest to image destination
Storing signatures
--> 950be5f14ef
--> f0b71b1591c
Successfully tagged localhost/asdf:latest
950be5f14efbb7f9cccd40e71560a9e150de4717e47af8933b35d6c89c8f9e83
f0b71b1591cf50cf3609494187083741c1021fd99f6168ab8283c4390954cef1
```

The last line is the hash of the image we just built. We're using buildah to
Expand All @@ -183,9 +183,9 @@ registry](https://github.com/kpcyrd/i-probably-didnt-backdoor-this/pkgs/containe
```sh
$ docker pull ghcr.io/kpcyrd/i-probably-didnt-backdoor-this:latest
latest: Pulling from kpcyrd/i-probably-didnt-backdoor-this
50341f5fa632: Pull complete
728be0271f95: Pull complete
Digest: sha256:fb3bf3c27010d68bdbfe66d0953b447db7dc097717df7d86e285a501e6c992da
50341f5fa632: Already exists
163594b80890: Pull complete
Digest: sha256:11cc7ec2b907a325fa3565039d990a466a7d83a06aa7dffdebba38d495d1571d
Status: Downloaded newer image for ghcr.io/kpcyrd/i-probably-didnt-backdoor-this:latest
ghcr.io/kpcyrd/i-probably-didnt-backdoor-this:latest
```
Expand All @@ -196,7 +196,7 @@ worked the image id is indeed the same:
```sh
$ docker images --no-trunc ghcr.io/kpcyrd/i-probably-didnt-backdoor-this
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/kpcyrd/i-probably-didnt-backdoor-this latest sha256:950be5f14efbb7f9cccd40e71560a9e150de4717e47af8933b35d6c89c8f9e83 51 years ago 9.38MB
ghcr.io/kpcyrd/i-probably-didnt-backdoor-this latest sha256:f0b71b1591cf50cf3609494187083741c1021fd99f6168ab8283c4390954cef1 51 years ago 9.38MB
```

### Reproducing the Arch Linux package
Expand Down Expand Up @@ -253,6 +253,7 @@ just like you did when following the instructions here!

This project was funded by Google, The Linux Foundation, and people like you
and me through [GitHub sponsors](https://github.com/sponsors/kpcyrd).

♥️♥️♥️

## License
Expand Down
154 changes: 62 additions & 92 deletions writeups/archlinux.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion writeups/cargo-lock.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ version = 3

[[package]]
name = "asdf"
version = "0.1.0"
version = "0.1.1"
```
4 changes: 2 additions & 2 deletions writeups/cargo-toml.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This is mostly defaults from running `cargo new --bin asdf`:
```toml
[package]
name = "asdf"
version = "0.1.0"
version = "0.1.1"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -15,7 +15,7 @@ edition = "2018"

- `name = "asdf"` is the name of our project. This isn't really used for
anything but the binary name.
- `version = "0.1.0"` is the version of our project.
- `version = "0.1.1"` is the version of our project.
- `edition = "2018"` this means we're opting into new features of the Rust
compiler. If unspecified rustc is using the 2015 edition, the 2018 edition is
the default for new projects.
Expand Down
4 changes: 2 additions & 2 deletions writeups/pkgbuild.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package" instructions.

```sh
pkgname=i-probably-didnt-backdoor-this
pkgver=0.1.0
pkgver=0.1.1
pkgrel=1
arch=('x86_64')
makedepends=('cargo')
Expand All @@ -27,7 +27,7 @@ about this).

```sh
pkgname=i-probably-didnt-backdoor-this
pkgver=0.1.0
pkgver=0.1.1
pkgrel=1
arch=('x86_64')
```
Expand Down

0 comments on commit 8b7a63e

Please sign in to comment.