On 5/27/20 4:48 PM, Richard Purdie wrote:
> Hi Bill,
> 
> On Wed, 2020-05-27 at 12:31 +0000, Mills, William wrote:
>> In a script, how would I download all the files in this dir:
>>
>> https://autobuilder.yocto.io/pub/releases/yocto-2.7.4.rc2/machines/beaglebone-yocto/
>>
>> I see no global md5sum (or sha256sum etc) file in the tree anywhere.
>>
>> The names are cut off in the default html list format so screen
>> scrapping won't work.  Is there an automated way to request a better
>> format?  WebDav? Am I missing something obvious?
> 
> If you look at the raw html it looks like:
> 
> <a 
> href="am335x-bone--5.0.13%2Bgit0%2B7f6e97c357_f990fd0ce1-r0.2-beaglebone-yocto-20200526225701.dtb">am335x-bone--5.0.13+git0+7f6e97c357_f990fd0ce1-..&gt;</a>
>  27-May-2020 07:00               56237
> 
> so the href is correct and its only the displayed url that is
> shortened. That is why you can click on them to get the artefacts and
> it is 'just' a display issue. It also means any script can pull the
> correct urls the same way.
> 

Of course.  That _was_ obvious.  Trying to do too many things at the
same time.

Still it would be nice to drop a sha256sums file in the base of the
tree.  I would feel much happier coding to that than the html scrapping.
But I will start with the html.


Thanks.
Bill

> I think Michael has tweaked the line lengths in the past but it keeps
> getting reset to distro defaults as the machine is upgraded. He knows
> about it and will look at sorting that again.
> 
> Cheers,
> 
> Richard
> 
> 
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49509): https://lists.yoctoproject.org/g/yocto/message/49509
Mute This Topic: https://lists.yoctoproject.org/mt/74498171/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to