Comments (3)
Assign me that issue
Thanks
from releases.
assign me that issue
thanks
from releases.
This inconsistency comes from GitHub actions outputting results from https://github.com/elementary/actions/blob/8522acaed6fd21d7854015dce74ebc76514d7590/release/entrypoint.sh#L57 which pulls the xml data from the appdata.xml
file https://github.com/elementary/sideload/blob/1bce9873214f97fdd075f3673c77e8d60c101c66/data/sideload.appdata.xml.in#L46-L53. This XML data happens to also be valid HTML, so it gets displayed properly.
One solution to parse the markdown would be to pass the request back to the GitHub API using the requests python package. It could probably go somewhere around here:
Line 57 in bcba6f5
headers = {
"Accept": "application/vnd.github+json",
"Authorization": os.environ['GITHUB_TOKEN'],
"X-GitHub-Api-Version": "2022-11-28"
}
requests.post("https://api.github.com/markdown", headers=headers, json={"text": release.body})
Because GitHub supports all these HTML elements inside of its Markdown parser, you won't need to validate the source, and can run it on every release.
I don't know how well supported HTML list elements are in python libraries, but it may be best to use the GitHub API so that you will always know that you're supporting all the same features.
from releases.
Related Issues (20)
- Slowly make release number text go redder as it becomes older HOT 1
- Link to commits comparison view
- Allow blacklisting repositories
- Build an actual template HOT 3
- Don't mark release as critical if it's less than a month old HOT 2
- Status labels wrap on mobile HOT 3
- Add "updated at" timestamp
- no steam-devices
- Generate an RSS feed HOT 4
- Make a difference between code commits and translation commits HOT 2
- UEFI Boot Failure on Dell Precision 5530 HOT 3
- [FEATURE] Auto themes to apps HOT 2
- Mismatch with calendar date and menu bar date HOT 1
- Please add OS Upgrades in eOS 7 HOT 1
- Unable to install 7.0 release
- I see Elementary OS 7.0 in a beautiful but eye-damaging pink/red. HOT 3
- Problem with Flatpack cannot update HOT 3
- No wifi after Elementary OS Horus update om my CSL Panther Tab HD HOT 3
- PPA 404s HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from releases.