Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xmake repository #1341

Closed
jube opened this issue Jul 22, 2023 · 3 comments
Closed

Add xmake repository #1341

jube opened this issue Jul 22, 2023 · 3 comments

Comments

@jube
Copy link

jube commented Jul 22, 2023

xmake

xmake is a build tool that also comes with a package manager. It is quite similar to brew or other tools like that. The package repository contains nearly a thousand packages.

Repository data location(s)

All the packages are available in a github repository. The package format is a lua script. This may be contrary to the requirements for new repository. But the scripts are very simple and the necessary data can probably be parsed using regexp as, AFAIK, no variable substitution is done in the package data.

Package links

@AMDmi3
Copy link
Member

AMDmi3 commented Jul 22, 2023

Sorry, lua scripts are not suitable data source.

@jube
Copy link
Author

jube commented Jul 23, 2023

Here, it's the only data source and it's not really Lua, it looks like data (as far as repology is concerned) and can be parsed like other kind of data. But I would understand that it may be too difficult for you as it's not a standardized format like JSON.

@AMDmi3
Copy link
Member

AMDmi3 commented Jul 24, 2023

No, it does not look like data, its lua code. It contains substitutions (in almost every add_urls call, sometimes with complex transformations thru lambda functuons), conditions (if is_plat, if is_arch) which affects urls, versions and patches, path processing code for patches and even some complex url/version alias such as in asio package. It's not "too complex", it's not possible to process without executing the code. You can do that on your side to generate machine readable data such as json.

@AMDmi3 AMDmi3 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants