Wish #DownloadURL in manifest.txt: b4x library updates

Mashiane

Expert
Licensed User
Longtime User
Hi Fam!

There has been a lot of strategies employed to manage the b4x library update process.

What if b4x developers had to add the exact #DownloadURL of their libraries in the manifest file? This could provide useful for un-assumed exact locations.

For example, usually the first post of a thread usually has one or more b4xlib uploaded by the developer, some developers release their libraries on github / google drive etc depending on whats possible.

Advantages​

  1. Self-describing artifact
    • Library knows where it lives
    • IDE doesn’t need external registry for updates
  2. Decoupled distribution
    • Developers can host anywhere (GitHub, CDN, private server)
  3. Supports automation
    • CI/CD can update versions and publish automatically
  4. Version truth consistency
    • Version + download source tied together
Possible Approaches

In the b4xlib code...

B4X:
#LibraryName: MyCoolLib
#Version: 1.2.3
#Author: John Doe
#DownloadURL: https://example.com/mylib/latest.zip

This content is used in the manifest, now including the DownloadURL

#KeepingAnOpenMind.
 
Top