stevedlawrence commented on PR #1532:
URL: https://github.com/apache/daffodil-vscode/pull/1532#issuecomment-3558132163

   One alternative for figuring out valid versions is to download the 
https://daffodil.apache.org/doap.rdf and extract the list of daffodil releases 
from that. For each release there is an element in that file that looks like:
   ```xml
       <release>
           <Version>
               <name>Apache Daffodil</name>
               <created>2025-09-22</created>
               <revision>4.0.0</revision>
           </Version>
       </release>
   ```
   That way you don't necessarily have to interpret http responses to figure 
out if the version doesn't exist or if the download failed for some other 
reason.
   
   Though, this might be more work than it's worth--you have to download an 
extra file, parse XML, etc. But I just thought I would throw it out there so 
that you are aware that there is an official place where we enumerate daffodil 
releases. You can decide if you like the approach or not--I don't feel strongly 
one way or the other.
   
   And if you did do that, we would also still need to make sure it's possible 
to use local snapshots if they are manually added to the cache so that someone 
could specify `4.1.0-SPAPSHOT` even though it's not in the doap.rdf.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to