Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how to download old builds with git
« previous next »
  • Print
Pages: [1]

Author Topic: how to download old builds with git  (Read 196 times)

Offline slecta

  • Member
  • *
  • Posts: 10
how to download old builds with git
« on: October 27, 2022, 09:49:51 AM »
hi all,

i'm attempting to download older builds from git (my plugin was written for an older version of the plugin API).

i can see a bunch of the old branches if i do:
git clone git://git.rockbox.org/rockbox -vv

two of them interest me in particular (don't understand the difference between the two but anyhow):
want 2ee456528104451945c2e8370eea513e1831f55b (refs/heads/v3.12)
want 103f12d78b0dfb22248fe0d4a399ab5d1ce92df6 (refs/tags/v3.12-final)

basically i'm trying to download 3.12 of rockbox. 

here's probably where i'm doing something wrong, to get it i do:
git clone git://git.rockbox.org/rockbox --single-branch 103f12d78b0dfb22248fe0d4a399ab5d1ce92df6

but it seems to still be the latest stable release (f8d1f791be is shown when i compile it, which is the latest stable release).

what am i doing wrong?  i'm fairly sure i'm just too much of a n00b to know the command to download the older branch properly.

thanks in advance for any help you all are very nice :)
Logged

Offline amachronic

  • Developer
  • Member
  • *
  • Posts: 269
Re: how to download old builds with git
« Reply #1 on: October 27, 2022, 01:10:58 PM »
First clone the repo,
Code: [Select]
git clone git://git.rockbox.org/rockbox

Then cd into your clone of the rockbox repository and checkout the branch / tag / commit you want,
Code: [Select]
cd rockbox
git checkout v3.12-final

If you want to try some other version of rockbox, just use git checkout again.
Logged

Offline slecta

  • Member
  • *
  • Posts: 10
Re: how to download old builds with git
« Reply #2 on: October 27, 2022, 01:18:39 PM »
Ah my hero.  Thank you!

Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how to download old builds with git
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.182 seconds with 22 queries.