Opened 7 years ago

Closed 3 years ago

#8793 closed enhancement (worksforme)

enhancement to feed for revision support

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: toolchain Version: Trunk
Keywords: feeds enhancement Cc:


As maintaining running OpenWRT systems without upgrading to latest development I sometimes have to compile and install a new package.

Since the running system is not based on the latest trunk revision I need to retrieve the package tree from svn matching the running revision.

To prevent manual steps repeated over and over again while setting up build environment I enhanced the ./scripts/feeds script to support revisions for at least svn.

With that it now is possible to retrieve the matching package structure for a specific revision by typing:

# ./scripts/feeds update -r 12345 packages

There is currently no verification whether revision exists and whether only applied to "packages" feed. This is an option for extension.

I attach a diff base on revision 25340. I hope to see it being integrated into trunk someday :)

Attachments (1)

feeds.diff (5.1 KB) - added by anonymous 7 years ago.
svn revision support for feeds

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by anonymous

svn revision support for feeds

comment:1 Changed 7 years ago by nbd

rather than using a command line parameter, how about making the rev configurable, similar to how you can select a specific git branch.

comment:2 Changed 7 years ago by anonymous

thats also a good idea. I just wonder where I could configure it? Usually I run feeds update before make menuconfig so add it within the build specific settings would require configuration two times.

Maybe it is possible to let the feeds script base on the revision used when setting up build environment (by "svn co ... trunk -r 12345") while retrieving packages feed... That would make any configuration unnecessary.

comment:3 Changed 3 years ago by jogo

  • Resolution set to worksforme
  • Status changed from new to closed

Feeds have now been moved to git, but generally you can specify a commit or revision through feeds.conf to be used for checkout instead of HEAD.

See for details.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.