Re: I need help getting a web page with curl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ToddAndMargo via users wrote:
> On 10/12/21 21:55, Gordon Messmer wrote:
>> Well, the whole page is dynamically generated.  It's more accurate and
>> meaningful to say that the commit message and commit ID (the revision)
>> come from the API, which you can query with curl and jq.
> 
> Oh ya.  No fooling.  The way OI am getting the revison of
> the program is the worst way of doing it.
> 
> And I have no choice:
> 
> Spice Guest Tools Downloads are not versioned
> https://gitlab.freedesktop.org/spice/win32/spice-nsis/-/issues/6

These are both the same binary:

https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-0.141/spice-guest-tools-0.141.exe
https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe

So the number you are getting from scraping the commit
message (the harder way) isn't even accurate as far as I can
tell.

It seems like you're asking for help solving the wrong
problem (or, at least, a harder problem than necessary).
And even when folks suggest better ways to solve that
problem --using a proper API or calling git directly--
you're still doing it the more fragile way in the end.

I'd be inclined to suggest taking a step back and try to
describe the actual end goal and determine if the problem
you're trying to solve is even the right one to solve. :)

Whether that ends up being something relevant to this list
or not, I don't know.

-- 
Todd

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux