Need to backtrack the feeds update to a specified date

I want to replicate an environment of a specified date. Started with the git clone of the OpenWRT and check out of the required branch specifying the specific date. Next steps is to update and install the feeds.

Is there a way where I can have the feeds back tracked to a specified date?

$ find feeds/ -type d -name .git
feeds/luci/.git
feeds/telephony/.git
feeds/routing/.git
feeds/packages/.git

Then in each

git fetch --unshallow

select the revision you want (remembering that author date is shown in the default git log formats, not commit date) and check them out. See also feeds.conf.default which, for releases, may specify a specific commit hash rather than a branch.

./scrips/feeds install -a

then should get things ready to proceed.

Under packages , it seems to be all mixed up when we start to track with dates.
If you see below ( pulled out a sample git log for example), commit goes from July, June and then to October. Trying to understand how to get the commit out for a exact date. ( Say a month back)

commit 564c762ddda837d91679b2366d43c53200529b70
Author: Alexandru Ardelean ardeleanalex@gmail.com
Date: Wed Jul 3 11:23:46 2019 +0300

django-ranged-response: update packaging format + add python3 variant

This change also updates the maintainer email to cotequeiroz@gmail.com, as
requested on a different change.

Not updating deps here, since that will be done in the next changeset that
will convert packages to the Python[3] packaging format.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry-picked from commit 70ebc7a2f4664c52f3e57e48fc5f707a859089fb)

commit e378731bac857d42931850bdbf1a451bfa1a7bbe
Author: Josef Schlehofer pepe.schlehofer@gmail.com
Date: Tue Jun 18 14:23:10 2019 +0200

flup: add Python3 variant and src package

- Add PKG_LICENSE_FILES
- Reorder things in Makefile
- Add dependency python3-logging otherwise I cannot import
flup.server.ajp
flup.server.scgi

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit a5b2ba9b4d6ec4045a1b534561d5e5eae262b0fe)

commit 58f47dfe946ce86ba4f1a892009d5acedb1f7523
Author: Christian Lachner gladiac@gmail.com
Date: Wed Oct 23 14:48:09 2019 +0200

haproxy: Update HAProxy to v2.0.8

Look at the commit date.

git log --pretty=fuller [...]

Thanks @jeff. It works .

1 Like

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