termux / repology-metadata Goto Github PK
View Code? Open in Web Editor NEWScripts and Github Actions workflow for generating Repology metadata.
Home Page: https://repology.org/repository/termux
Scripts and Github Actions workflow for generating Repology metadata.
Home Page: https://repology.org/repository/termux
Currently we can explore the possibility of adding the following fields to our generated JSON data:-
From termux/termux-packages@b760237#commitcomment-66181066
What can be done:
properties.sh
can be sourced from the termux-packages repository itselfgenerate-repology-metadata.sh
to get the list of repositories from 'repos.json' instead of passing hard-coded list of pathsNote that this is just a tracking issue and I've already started work on this
For autossh for example we have TERMUX_PKG_DEPENDS="openssh | dropbear"
. In the generated packages.json we get
"name": "autossh",
"version": "1.4g",
"description": "Automatically restart SSH sessions and tunnels",
"homepage": "https://www.harding.motd.ca/autossh/",
"depends": [
"openssh",
"|",
"dropbear"
],
We can change the script to always use the first package in the "or" statement (alternatively we could make have "depends" : [ "openssh | dropbear" ]
, but I guess repology doesn't handle that at the moment)
As seen if for example the latest update. Probably need to strip away the version.
Subpackages are currently missing completely in our data dump.
Not sure if there is a reason for this? I guess script authors (myself included) forgot about them, or were just to lazy to parse them..
This caused Repology to recently stop picking up updates from our repos. The reason was due to a unallowed character in JSON string "
(the double quotes). It would be great if we can somehow patch our scripts to make sure the JSON is always valid, so that we don't end up in such situation again.
Link to the commit that fixed this:- termux/termux-packages@b760237
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.