Rewrite of the website - #167
Conversation
|
Some things that need to be done:
The CONTRIBUTING.md is on it's way. Did I miss something? |
|
@andy5995 can you review this? We also talked about this on Discord. |
|
added source urls from both |
|
@ivan-hc I will try. In my opinion, if a lot of changes are needed for a website rewrite, then it normally should be done in smaller chunks so changes can be efficiently reviewed by the maintainer. If this were my project, I'd suggest a contributor submit the first required stage in a pull request. After that is reviewed and merged, then a "stage 2" commit and PR. Why are over 3000 files getting changed in this single pull request? The site is normally generated using tools and scripts from the AM repo. If the existing site generator can't write the proposed changes, then my first thought would be a single converter script is needed in the AM repo that will implement the proposed changes to all the appimage entries. I can't think of any more feedback right now, but if I do, I'll post here. And maybe I'll be able to review more once my questions are answered. |
|
@andy5995 I completely agree. Changes like this need to be analyzed in gradual phases. @coyoteclan here are too many changes to analyze. |
This is a catalogue, it's expected. The generator script and workflow is updated. It does generate the new website. But I had to test it so I enabled the workflow and ran it. You can see individual commits. |
|
I don't see this as being desirable. It would be an extra maintenance burden for this project to have links to the Discord, donation buttons for other projects. How would that information get updated when the links change or become dead over time? @ivan-hc agree? That's from https://coyoteclan.github.io/Portable-Linux-Apps.github.io/apps/testapp.json |
That's for an example. The original contributing.md said you can add extra buttons. So I included a way to define extra buttons. The matter of links becoming dead is same as it was before. |
|
To write a markdown is simpler than compiling a json, and more customizable for common users. |
i think you didn't read my message properly. Users write this: it gets converted to json for site deployment automatically by the workflow but this info file remains intact in the repo. no json files are committed. the json files are only used on website. users write and edit the above mentioned markdown-ish format. so like i said before, we are getting both benefits now:
i updated the faq entry on how to improve app pages |
Oh, I see now. :) |
This general guide has more information about "best practices" https://www.deployhq.com/blog/the-perfect-pull-request-best-practices-for-collaborative-development |
@coyoteclan Please post the screenshots here instead of the links, then remove all the generated artifacts, update the PR. Then we will be able to review the code that changes the website infrastructure. |
How apps are defined by contributors or "dumb" apps generated by sync with AM workflow: This info file is converted to json and served on the deployed site: And the app.html page renders the json data like this: real app example, virtualbox:
|
|
thanks for the article link. i will do it now |
|
@ivan-hc i noticed now i have missing categories. you pointed it out before but i didn't pay much attention. i used the script that was present on this repo instead of the AM one. fixing it now and improving the overall logic of category and category page generation |
|
done, we are down to 71 files changed, most of them are deleted files. run by sync with AM worklfow: am2pla-site (in this repo) now does only these things:
run by pages deployment workflow: simple2json.py replaces the simple app info files in gen_cats.py generates gen_cat_pages.py generates |
|
actually, apps.json too shouldn't be tracked in git, i will move that to the website deployment |
|
done, now we're golden, sync with AM now only removes unnecessary app info files and creates dumb info and icon files |
|
there is a problem in website deployment, i am debugging it at https://github.com/Wolf-Pack-Clan/Portable-Linux-Apps.github.io |
|
okay now everything seems good |
Signed-off-by: Mechamorph <kazam0180@proton.me>




I have looked through it fixed the issues I found. You might want to check FAQ and Wiki page @ivan-hc