https://dev.qmp.cat/https://dev.qmp.cat/favicon.ico?16699090422015-07-10T15:45:48ZqMp (Quick Mesh Project) and BMX6/BMX7 development siteqmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7222015-07-10T15:45:48ZRoger Pueyo Centellesqmp@rogerpueyo.com
<ul><li><strong>Estat</strong> ha canviat de <i>Nou</i> a <i>En progrés</i></li><li><strong>Assignat a</strong> s'ha establert a <i>Roger Pueyo Centelles</i></li><li><strong>% realitzat</strong> ha canviat de <i>0</i> a <i>50</i></li></ul><p>See commit <a class="changeset" title="Fix #373 (1/2). Use coherent naming for precompiled images' filenames" href="https://dev.qmp.cat/projects/qmpfw/repository/52/revisions/50881ab55c8b704ad4230b44cf75055e79fd0b15">50881ab5</a></p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7232015-07-10T16:18:13ZJorge L. Florit
<ul></ul><p>I agree the naming change but I have some comments.</p>
<p>You propose the scheme "qMp_%QMP_VERSION_%MANUFACTURER_%MODEL_%DATE.bin" but your examples are like "qMp-4.5_TP-Link_TL-WDR4300-v1-sysupgrade-20150708_1720.bin". The question is about using - and _, for example between model and date; I think it's important to take into account because of how the update system checks data, etc.</p>
<p>If you consider I suggest your scheme but more strict with the "_"; something like: <br />qMp_3.2-Clearance_TP-Link_TL-WDR4300-v1_sysupgrade-20150708-1720.bin<br />qMp-Guifi_3.1.1-Clearance_Ubiquiti_Nanostation-M5_factory-20150602-1820.bin</p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7242015-07-10T17:08:36ZRoger Pueyo Centellesqmp@rogerpueyo.com
<ul><li><strong>Estat</strong> ha canviat de <i>En progrés</i> a <i>Comentaris</i></li><li><strong>Assignat a</strong> ha canviat de <i>Roger Pueyo Centelles</i> a <i>Jorge L. Florit</i></li></ul><p>So,</p>
<p>qMp_3.2-Clearance_TP-Link_TL-WDR4300-v1_sysupgrade-20150708_1720.bin<br />qMp-Guifi_3.2-Clearance_TP-Link_TL-WDR4300-v1_factory-20150708_1720.bin</p>
<p>This is:<br />$(COMMUNITY)_$(VERSION_NUMBER)-$(VERSION_NICK)_$(NAME)_sysupgrade-$(TIMESTAMP).bin<br />$(COMMUNITY)_$(VERSION_NUMBER)-$(VERSION_NICK)_$(NAME)_factory-$(TIMESTAMP).bin</p>
<p>where $NAME = {Ubiquiti_RouterStation, Generic_x86, Ubiquiti_Unifi-AP, TP-Link_TL-WR841N-v8, ...}</p>
<p>Is this ok?</p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7252015-07-10T17:20:21ZJorge L. Florit
<ul></ul><p>Yes it looks good to me. Only if the timestamp has a "_" between date and time, I will put another _ before (just after sysupgrad/factory):<br />$(COMMUNITY)_$(VERSION_NUMBER)-$(VERSION_NICK)_$(NAME)_sysupgrade_$(TIMESTAMP).bin</p>
<p>Alternatively, to shorten the file name, $VERSION_NICK could be omitted.<br />$(COMMUNITY)_$(VERSION_NUMBER)_$(NAME)_sysupgrade_$(TIMESTAMP).bin</p>
<p>Do it like you consider most appropriate.</p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7262015-07-10T17:23:21ZRoger Pueyo Centellesqmp@rogerpueyo.com
<ul></ul><p>Yes, it's how it is created, but we can change the timestamp to $(shell date +%Y%m%d-%H%M) instead of $(shell date +%Y%m%d_%H%M) if it looks better.</p>
<p>20150710-2344 or 20150710_2344. Even 2015-07-10_23:44...</p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7272015-07-10T17:32:54ZRoger Pueyo Centellesqmp@rogerpueyo.com
<ul></ul><p>Then,</p>
<p>$(COMMUNITY)_$(VERSION_NUMBER)-$(VERSION_NICK)_$(NAME)_factupgrade_$(TIMESTAMP).bin</p>
<p>with timestamp 2015-07-10_23:44?</p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7282015-07-10T17:36:11ZJorge L. Florit
<ul><li><strong>Assignat a</strong> ha canviat de <i>Jorge L. Florit</i> a <i>Roger Pueyo Centelles</i></li></ul><p>I think it will be easier to handle the file name with $(shell date +%Y%m%d-%H%M) and the vars separated with <em>:<br />$(COMMUNITY)</em>$(VERSION_NUMBER)_$(NAME)_sysupgrade_$(TIMESTAMP).bin</p>
<p>Go ahead!</p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7292015-07-10T17:38:59ZJorge L. Florit
<ul></ul><p>Sorry, the editor misunderstood the "_": $(COMMUNITY)_$(VERSION_NUMBER)_$(NAME)_sysupgrade_$(TIMESTAMP).bin</p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7302015-07-10T17:43:10ZRoger Pueyo Centellesqmp@rogerpueyo.com
<ul></ul><p>Brilliant!</p>
<p>Let's just set the timestamp to $(shell date +%Y%m%d-%H%M) then?</p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7312015-07-10T17:44:24ZJorge L. Florit
<ul></ul><p>Yeah</p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7322015-07-10T18:01:07ZRoger Pueyo Centellesqmp@rogerpueyo.com
<ul><li><strong>Estat</strong> ha canviat de <i>Comentaris</i> a <i>Resolt</i></li><li><strong>% realitzat</strong> ha canviat de <i>50</i> a <i>100</i></li></ul><p>See commits <a class="changeset" title="Fix #373. Use a hyphen instead of an underscore in the timestamp between date and time" href="https://dev.qmp.cat/projects/qmpfw/repository/52/revisions/e4de91ecf27351ab85b49f71520ed95f3f188f5c">e4de91ec</a>, <a class="changeset" title="Fix #373. Use $(COMMUNITY)_$(VERSION_NUMBER)-$(VERSION_NICK)_$(NAME)_factory/syupgrade_$(TIMESTAM..." href="https://dev.qmp.cat/projects/qmpfw/repository/52/revisions/d37d54e07d882a8d0239f45acf061652b85af7a0">d37d54e0</a>, <a class="changeset" title="Update DEVICES hashes list with the new naming scheme and sort them alphabetically" href="https://dev.qmp.cat/projects/qmpfw/repository/52/revisions/7168d3cc71ec18cabf5d1c8ddd9d16f94c8eafaf">7168d3cc</a>, <a class="changeset" title="Fix #373 (1/2). Enforce precompiled images' filename format to $MANUFACTURER_$MODEL-NAME" href="https://dev.qmp.cat/projects/qmpfw/repository/52/revisions/2e70cc30108b1fe78694f0089ee85266de9e8ef3">2e70cc30</a> and <a class="changeset" title="Fix #373 (1/2). Use coherent naming for precompiled images' filenames" href="https://dev.qmp.cat/projects/qmpfw/repository/52/revisions/50881ab55c8b704ad4230b44cf75055e79fd0b15">50881ab5</a>.</p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7392015-08-06T22:31:16ZRoger Pueyo Centellesqmp@rogerpueyo.com
<ul></ul><p>See commits <a class="changeset" title="Fix #373. Use $(COMMUNITY)_$(VERSION_NUMBER)-$(VERSION_NICK)_$(NAME)_factory/syupgrade_$(TIMESTAM..." href="https://dev.qmp.cat/projects/qmpfw/repository/52/revisions/d37d54e07d882a8d0239f45acf061652b85af7a0">d37d54e07d882a8d0239f45acf061652b85af7a0</a> and <a class="changeset" title="Fix #373. Use a hyphen instead of an underscore in the timestamp between date and time" href="https://dev.qmp.cat/projects/qmpfw/repository/52/revisions/e4de91ecf27351ab85b49f71520ed95f3f188f5c">e4de91ecf27351ab85b49f71520ed95f3f188f5c</a> <a class="external" href="http://fw.qmp.cat/testing">http://fw.qmp.cat/testing</a></p> qmpfw: Quick Mesh Project legacy firmware generator (deprecated) - Característica #373: Coherent naming for precompiled images' filenameshttps://dev.qmp.cat/issues/373?journal_id=7402015-08-06T22:31:39ZRoger Pueyo Centellesqmp@rogerpueyo.com
<ul><li><strong>Estat</strong> ha canviat de <i>Resolt</i> a <i>Tancat</i></li></ul>