Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13472 closed defect (worksforme)

in config there is no revision number anymore

Reported by: christian.werner@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: config Cc:

Description

In the config file is no revision Number anymore.

It was something Like # NR=(r35XXX)

I used this file to determinate if I should download the a new Imagebuilder file.

#!/bin/bash
versionUrl="http://downloads.openwrt.org/snapshots/trunk/ar71xx/config"
version=$(curl $versionUrl | awk 'NR==2{print $1}' RS='(' FS=')')

Is there a other place where I can get the current Revision number which has been build, whithout downloading the the complete package or parsing the name of the "base_file" package ?

One other Question:
How can I register on trac?

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by Christian WERNER <Christian.werner@…>

I choose the wrong milestone, It should be "Barrier Breaker".
Maybe a mod could move the ticket to the right milestone, thanks

comment:2 Changed 5 years ago by christian.werner@…

I updated my script, which now parses the filename of the base-files packages

packageUrl="http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/"
version="r$(curl $packageUrl | grep 'base-files' | awk '{$1="";print $0}'  RS='_ar' FS='-r' | head -1 | tr -d ' ' )"

comment:3 Changed 5 years ago by Christian WERNER <Christian.werner@…>

please close this Issue

comment:4 Changed 5 years ago by florian

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

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.