Branch but SNAPSHOT?

Again, another question regarding versions... in regard to checkout-a-tagged-releases-source-code-like-v21-02-0

When I build

git clone -b openwrt-21.02 --single-branch https://git.openwrt.org/openwrt/openwrt.git

Why do I see this in Luci later on?

Powered by LuCI openwrt-21.02 branch (git-21.244.20922-3b3c2e5) / OpenWrt 21.02-SNAPSHOT r16281-6f8143fa4a

  1. I mean, why SNAPSHOT?
  2. Is it different if I do a checkout v21.02.0 ?

Greetings, Frood

It is not a fixed release 21.02.0 but a commit from the 21.02 branch...

"Snapshot" is the term used both in the master and in the release branches for builds made from the current branch head.

"Snapshot" does not equal "master".

Yes. Because then you would checkout a fixed commit and would get the fixed branding, just like in the relase commit says:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=b2ae4233149dfd78f2ac00bb5327695bcacdc255

(The branding there is 21.02-SNAPSHOT and that is temporarily fixed for the release (like "21.02.0"), then reverted back to the normal)

:hushed:
This is what I was afraid of. In the future, when I look in the UI, I will not remember that it is a branch that was cloned. I will think it is a master.
For people with a bad memory, it is better to checkout a version - though.

Anyways, the result is the same, which is fine.

Thanks! Frood.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.