[News Post] New website and nightlies are back
Moderator: OpenTTD Developers
[News Post] New website and nightlies are back
Cross posting from the website:
Modernisation of the hosting infrastructure is proceeding, and we have just brought a new version of this main website online. But, you say, nothing changed? You are absolutely correct!
For over the last 15 years, the website was run on Django. Sadly, over the years, fewer and fewer people knew how to update it, and it stalled. So, a few weeks back andythenorth and TrueBrain started to port the website to Jekyll, and put it on GitHub. It is now connected to a CI/CD. This means that any contribution can quickly be tested and validated, and anyone with commit rights can update the website. Including things like news, screenshots, etc!
Additionally, after almost a year of no nightlies, they are finally back. These nightlies are created on new infrastructure, and should be better than ever. Especially the Mac OS version should be a lot more stable, as it is no longer cross-compiled.
Finally, the new binaries are now served from a CDN; this means downloads should be a lot quicker for a lot more people.
This all took a lot of effort (6+ months of work), and hopefully this makes contributing to these parts of our game a lot easier.
If you find any trains stuck at signals please let us know, so we can resolve the issue safely without risk of crashes.
Modernisation of the hosting infrastructure is proceeding, and we have just brought a new version of this main website online. But, you say, nothing changed? You are absolutely correct!
For over the last 15 years, the website was run on Django. Sadly, over the years, fewer and fewer people knew how to update it, and it stalled. So, a few weeks back andythenorth and TrueBrain started to port the website to Jekyll, and put it on GitHub. It is now connected to a CI/CD. This means that any contribution can quickly be tested and validated, and anyone with commit rights can update the website. Including things like news, screenshots, etc!
Additionally, after almost a year of no nightlies, they are finally back. These nightlies are created on new infrastructure, and should be better than ever. Especially the Mac OS version should be a lot more stable, as it is no longer cross-compiled.
Finally, the new binaries are now served from a CDN; this means downloads should be a lot quicker for a lot more people.
This all took a lot of effort (6+ months of work), and hopefully this makes contributing to these parts of our game a lot easier.
If you find any trains stuck at signals please let us know, so we can resolve the issue safely without risk of crashes.
The only thing necessary for the triumph of evil is for good men to do nothing.
Re: [News Post] New website and nightlies are back
Hooray, nightlies! Good work everyone involved.
- andythenorth
- Tycoon
- Posts: 5656
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: [News Post] New website and nightlies are back
Highlights of the new nightlies, compared to 1.8.0:
Contributions have really picked up since April 2018
- Increase rail type & cargo type limits to 64
- Overhaul of music system
- Framerate display window
- Automatic save when losing connection to a network game
- Default starting company colour setting
- API for querying network clients from GS (#6736)
- Append '(City)' after city names in the town directory
- New Russian Ruble as currency (#6678)
- Increase size of industry persistent storage to 256
Contributions have really picked up since April 2018
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: [News Post] New website and nightlies are back
Thank you for all of your work. We really should have some sort of community reward for your contributions!
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: [News Post] New website and nightlies are back
Really good work, worthy of praise. If ever there is a TT-Meet with you guys present, I feel you deserve a beer and a pat on the back.
My Scenarios:
Archipiélago Hermoso (Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)
-
- Tycoon
- Posts: 2781
- Joined: 22 Feb 2011 18:34
Re: [News Post] New website and nightlies are back
Great work, just one question about the nightlies: I see the version number has changed to the date (nice, makes seeing which new things have been added a lot easier), but I can't see to which exact commit the nightly corresponds anymore. I can get a good idea by looking at the times, but is there a way to get the exact commit?
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
- andythenorth
- Tycoon
- Posts: 5656
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: [News Post] New website and nightlies are back
My assumption is that for nightlies, the rev built matches the latest commit in the changelog https://openttd.ams3.cdn.digitaloceansp ... ngelog.txtTransportman wrote:I can't see to which exact commit the nightly corresponds anymore. I can get a good idea by looking at the times, but is there a way to get the exact commit?
Changelog is linked from download page.
If I'm wrong TB will probably say so
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: [News Post] New website and nightlies are back
The name of the nightly is like this: '20190126-master-g36e299fb'. It has 3 components: the date it was produced, the branch it was produced from (yes, we should be able to support patchpacks too now), and the 'git hash' of the commit it was based on. This starts with a 'g', meaning 'git', followed by the real hash.
So if you want to know the exact commit, all you have to do is: 'git log -1 36e299fb'.
There you go! The way to get the exact commit
So if you want to know the exact commit, all you have to do is: 'git log -1 36e299fb'.
There you go! The way to get the exact commit
The only thing necessary for the triumph of evil is for good men to do nothing.
Re: [News Post] New website and nightlies are back
Hello
So there is room for a transformation of the frontend to HTML5 and to a responsive structure, isn't it? All necessary ressources seems to be located in and under the directories "pages" and "static" or are there other places with HTML and CSS ressources?
Tschö, Auge
Do I read it the right way, saying the website is the old one beside the changes behind the curtain?TrueBrain wrote:Modernisation of the hosting infrastructure is proceeding, and we have just brought a new version of this main website online. But, you say, nothing changed? You are absolutely correct!
So there is room for a transformation of the frontend to HTML5 and to a responsive structure, isn't it? All necessary ressources seems to be located in and under the directories "pages" and "static" or are there other places with HTML and CSS ressources?
Tschö, Auge
- andythenorth
- Tycoon
- Posts: 5656
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: [News Post] New website and nightlies are back
A website redesign would be welcome.Auge wrote:So there is room for a transformation of the frontend to HTML5 and to a responsive structure, isn't it? All necessary ressources seems to be located in and under the directories "pages" and "static" or are there other places with HTML and CSS ressources?
All the resources are there in the repo, or if something is missing, it can likely be added. https://github.com/OpenTTD/website
There are 2 options:
1. reimplement the current design, but update to contemporary methods.
This would mean e.g. removing all the images used for styling, and replacing with css gradients, shadows etc. I did a small part of this already, and LordAro might have a more complete conversion somewhere.
We could also make the current site responsive, although it's not really designed for reflow.
2. implement a new design
This would require design skills. I could do it somewhat, but it's not something I want to be responsible for.
So either we need a designer, or we could use one of the (ugh exploitation ) sites like 99Designs or Fiver, and pay a professional designer to do it. We do have OpenTTD funds for that kind of thing.
Either way, it needs ported to a responsive framework, preferably Bootstrap. And I am happy to help with the re-implementation.
Questions go to #openttd irc, or communicate via github issue, thanks
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: [News Post] New website and nightlies are back
Hello
Tschö, Auge
I made a responsive but very incomplete mockup of the cuurent page a few years ago (the files are lost meanwhile). It's absolutely possible to make the design reflowing (except one want to keep it pixelwise like in a print design).andythenorth wrote:A website redesign would be welcome.Auge wrote:So there is room for a transformation of the frontend to HTML5 and to a responsive structure, isn't it? All necessary ressources seems to be located in and under the directories "pages" and "static" or are there other places with HTML and CSS ressources?
There are 2 options:
1. reimplement the current design, but update to contemporary methods.
This would mean e.g. removing all the images used for styling, and replacing with css gradients, shadows etc. I did a small part of this already, and LordAro might have a more complete conversion somewhere.
We could also make the current site responsive, although it's not really designed for reflow.
I am also not a designer. I understand your wariness.andythenorth wrote:2. implement a new design
This would require design skills. I could do it somewhat, but it's not something I want to be responsible for.
Does that really need a framework? Use of a framework is often like stoning someone with a menhir (i.e. like in Live of Brian).andythenorth wrote:Either way, it needs ported to a responsive framework, preferably Bootstrap. And I am happy to help with the re-implementation.
Tschö, Auge
- andythenorth
- Tycoon
- Posts: 5656
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: [News Post] New website and nightlies are back
Fair question Answer depends on:Auge wrote:Does that really need a framework? Use of a framework is often like stoning someone with a menhir (i.e. like in Live of Brian).
* how much we want to build our own grid, which is a 100% solved problem already by css frameworks
* how much we want to attract widespread contributions, other people's hand-crafted css is never attractive to work with
For comparison, we could have not used Jekyll for the website compile. We don't really need it, because a static site generator is easy to write (I have at least 2 already of my own). But Jekyll is complete, and has docs, and is easy for anyone to pick up and work with.
FWIW, I use Bootstrap for every website I build, and have for years
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: [News Post] New website and nightlies are back
I personally appreciate how the site is completely static and does not depend on downloading huge stylesheets and JS files. It's just fast and just works.
Re: [News Post] New website and nightlies are back
I think the last post of andythenorth summarizes it best; it is not bootstrap perse that would be a requirement if you ask me, but a non-javascript well-known-and-established framework would be good. Bootstrap is an obvious solution, but please, without the Javascript nonsense
But yeah, something that already exists has the preference for sure! Reinventing stuff is not future-proof, we noticed (as the website hasn't had any real update in over 10 years .. I guess that is safe to say ). We are going for safe solutions this time around
(hence the Jekyll .. all GitHub Pages are build with it Should be safe, right? (famous last words!))
So, come to think of it, a tiny list of requirements:
- Well known framework; this because we want people to be able to contribute over the years to come, without a steep learning curve.
- No javascript (or at least, should work completely without javascript); this is because we have users with things like NoScript. No need to give them a suboptimal website.
- Static website, produced via Jekyll.
But yeah, something that already exists has the preference for sure! Reinventing stuff is not future-proof, we noticed (as the website hasn't had any real update in over 10 years .. I guess that is safe to say ). We are going for safe solutions this time around
(hence the Jekyll .. all GitHub Pages are build with it Should be safe, right? (famous last words!))
So, come to think of it, a tiny list of requirements:
- Well known framework; this because we want people to be able to contribute over the years to come, without a steep learning curve.
- No javascript (or at least, should work completely without javascript); this is because we have users with things like NoScript. No need to give them a suboptimal website.
- Static website, produced via Jekyll.
The only thing necessary for the triumph of evil is for good men to do nothing.
Re: [News Post] New website and nightlies are back
And here I was going to make the heretical suggestion that since I recently started the conversion of tt-forums to the newest version of phpbb, that maybe we just borrow that and throw in an add-on to produce a general front-page.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: [News Post] New website and nightlies are back
Would the GatsbyJS framework be option for OpenTTD.org's framework ? Its very fast for smallish static sites and from what I looked up it should also work with no Javascript enabled. It would at least be very modern solution. I am not expert on all matters of OpenTTD.org's needs but I think it could work well. I think with GatsbyJS we could get static site and some of benefits of Javascript for those who want.
Also great work on getting nightlies back !
Also great work on getting nightlies back !
Re: [News Post] New website and nightlies are back
Hello
Tschö, Auge
Openttd.org just changed to a new framework named "Jekyll".Katve wrote:Would the GatsbyJS framework be option for OpenTTD.org's framework ?
Yes.Katve wrote:Also great work on getting nightlies back !
Tschö, Auge
- Emperor Jake
- Tycoon
- Posts: 3427
- Joined: 24 Apr 2007 09:37
- Skype: Discord: Emperor Jake #4106
- Location: Not Actually Japan
- Contact:
Re: [News Post] New website and nightlies are back
andythenorth wrote:Highlights of the new nightlies, compared to 1.8.0:
...
You missed group liveries, literally the best feature since path signals
Re: [News Post] New website and nightlies are back
Fantastic work guys, well done!
Re: [News Post] New website and nightlies are back
Great! Where are the Linux Nightlies?
Who is online
Users browsing this forum: No registered users and 8 guests