Giter Club home page Giter Club logo

Comments (2)

seproDev avatar seproDev commented on July 26, 2024

Oh yeah the updates.aegisub.org subdomain also needs to point somewhere. Though redirects won't work here as Aegisub expects a status code of 200.
Also no Github Pages since Aegisub doesn't support HTTPS.

There should probably be an issue somewhere talking about how the update infastrucutre is going to work.


Edit: I gave updating the version checker a go myself. I didn't find any plans on how this should work so I just did what I thought would be reasonable. If there were any other plans do discard this.

The update checker now works by having a updates.json automatically generated by hugo. The idea would be that updates.aegisub.org always returns a file which indicates that 3.4.0 is released and future versions of Aegisub will get their update info from the aegisub.org/updates.json. If we don't want to include Boost.JSON the old format could be continued to be used.

I thought about using the GitHub releases api directly, but that doesn't play nice with the SVN revision number currently used for versioning. Changing it to actually compare the version number would also be possible, but binding it to the website has the added advantag of Aegisub not reporting an update that isn't available on the website.

Changes to Aegisite: seproDev/aegisite@5463b38...json-update
Changes to Aegisub: seproDev/Aegisub@400bb30 (This has been the first time I coded in C++. If this is too bad to be reviewed/fixed I am fine with someone else just redoing it. Also compilation only works under Linux as I was unable to update boost under Windows)

from aegisite.

CoffeeFlux avatar CoffeeFlux commented on July 26, 2024

For the redirects, I'm not sure what the provider supports - I'll have to ask jfs. ftp.aegisub.org will probably just be moved to a fixed downloads page like you guessed, since I have no desire to run a public FTP server. The updater situation is slightly awkward and one of the last things I'd need to iron out before releasing a stable. If you ping me on Discord, I can explain.

from aegisite.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.