The International Simutrans Forum

 

Author Topic: Nightly build site discussion  (Read 112776 times)

0 Members and 1 Guest are viewing this topic.

Offline Colin

  • Devotees (Inactive)
  • *
  • Posts: 663
  • Certa Cito
Nightly build site discussion
« on: September 27, 2008, 05:48:53 AM »
Hi Werner, Just a note. Your new server for downloads (The German one) has a problem it's linking the sdl version of r2036 to the PAK128.150 download.

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
Nightly build site discussion
« Reply #1 on: September 27, 2008, 10:10:59 AM »
@Colin

What exactly is a problem?

Downloads work by me. (IE 7, FF 3 and Opera 9.50 )
« Last Edit: September 27, 2008, 10:13:40 AM by Frank »

Offline Colin

  • Devotees (Inactive)
  • *
  • Posts: 663
  • Certa Cito
Nightly build site discussion
« Reply #2 on: September 28, 2008, 02:01:31 AM »
@Colin

What exactly is a problem?

Downloads work by me. (IE 7, FF 3 and Opera 9.50 )

The problem is exactly what I wrote. On Werners de page when you click on the SDL r2036, instead of downloading r2036 it downloads PAK128.150. It doesn't happen on his current site, only the new one.

If you think I'm wrong, perhaps you could explain why I've now got a 19mb PAK128 zip file sitting on my computer.

Offline whoami

  • Devotees (Inactive)
  • *
  • Posts: 693
Nightly build site discussion
« Reply #3 on: September 28, 2008, 06:16:38 PM »
The files on the new server are identified by numbers that are handed over to a PHP script, so if that (generated) number is wrong, you get the wrong file.

Offline Colin

  • Devotees (Inactive)
  • *
  • Posts: 663
  • Certa Cito
Nightly build site discussion
« Reply #4 on: September 28, 2008, 08:08:10 PM »
The files on the new server are identified by numbers that are handed over to a PHP script, so if that (generated) number is wrong, you get the wrong file.

Well that's quite brilliant isn't it? I hope Werner corrects this problem before he changes over completely.

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
Nightly build site discussion
« Reply #5 on: September 28, 2008, 08:40:44 PM »
Well that's quite brilliant isn't it? I hope Werner corrects this problem before he changes over completely.

the new server work correct

I tested the links and download the correct file, not changed download script file

the name of file show in file download dialog

« Last Edit: September 28, 2008, 08:48:28 PM by Frank »

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Nightly build site discussion
« Reply #6 on: September 28, 2008, 08:56:07 PM »
Hm, is that done with redirects or readfile() + header "Content-Disposition"?

(btw Opera has some problems with redirects at least when they are images. But it isn't really a problem here I guess.)

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
Nightly build site discussion
« Reply #7 on: September 28, 2008, 09:01:23 PM »
the script create a new site

Code: [Select]
        echo "<!DOCTYPE HTML PUBLIC \"-\/W3C\/DTD HTML 4.0 Transitional\/EN\">";
echo "<HTML><HEAD>";
echo "<META http-equiv=Content-Type content=\"text/html; charset=windows-1252\">";
echo "<meta http-equiv=\"refresh\" content=\"0;URL=$link\" />";
echo "</HEAD>";   
echo '<BODY onBlur="javascript:close();"></BODY></HTML>';

test by opera 9.50 and FF 3

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Nightly build site discussion
« Reply #8 on: September 28, 2008, 09:03:42 PM »
That's wicked clever :) You do this for living?

Offline Colin

  • Devotees (Inactive)
  • *
  • Posts: 663
  • Certa Cito
Nightly build site discussion
« Reply #9 on: September 28, 2008, 09:05:03 PM »
@ Frank

Yes, well it does today, but it didn't the other day, so the problem has been fixed.

Bear in mind that just because it worked when you tried it, doesn't necessarily mean it worked when I did.

I still have a 19MB PAK128 zip file which downloaded from sim_winsdl 2008-09-28 v100.1 r2036. Which I note you haven't tried to explain.

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
Nightly build site discussion
« Reply #10 on: September 28, 2008, 09:26:25 PM »
@ Frank
...
I still have a 19MB PAK128 zip file which downloaded from sim_winsdl 2008-09-28 v100.1 r2036. Which I note you haven't tried to explain.

I can not explain what I myself do not understand.

I also tested on the day in question, and it has worked for me.

To the relevant files has not since changed, which affects the download.

files and dates

func.php 25-09-2008
Download.php 14-09-2008

counter_Dateien.php - list the downlod files
This file will be updated when new files are uploaded. The new files are added. There are no entries changed.

this applies to nightly.simutrans-germany.com

I mistakes and problems very seriously. To eliminate this, I must understand what I said in this case can not.


sorry for bad english
« Last Edit: September 28, 2008, 09:31:28 PM by Frank »

Offline Colin

  • Devotees (Inactive)
  • *
  • Posts: 663
  • Certa Cito
Nightly build site discussion
« Reply #11 on: September 28, 2008, 10:09:54 PM »
I tried this one today,  sim_winsdl 2008-09-28 v100.1 r2038. it also worked fine. The problem needed to be resolved before the complete change over and it appears that it has.


Offline whoami

  • Devotees (Inactive)
  • *
  • Posts: 693
Nightly build site discussion
« Reply #12 on: September 28, 2008, 10:17:37 PM »
Apart from a bug, an outdated (cached) copy of the download page could lead to this problem, unless the file IDs are always the same.
The nightlies are built when it's night in Germany, but in Australia, you might have downloaded files exactly when they are being re-built.
« Last Edit: September 28, 2008, 10:19:39 PM by whoami »

Offline Colin

  • Devotees (Inactive)
  • *
  • Posts: 663
  • Certa Cito
Nightly build site discussion
« Reply #13 on: September 28, 2008, 10:59:57 PM »
The nightlies are built when it's night in Germany, but in Australia, you might have downloaded files exactly when they are being re-built.

This could be true. It would have been approximately 4am in Germany when I downloaded that file. I would have thought however, that there would have been an error message rather than a transfer to a different file. But hey! I don't know how these tings work. ;D

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
Nightly build site discussion
« Reply #14 on: September 29, 2008, 02:07:08 AM »
..., unless the file IDs are always the same.
....

is the file name differently, it is also the id differently

8 files always have the same id
( sim-winsdl.zip, sim-winsdl.7z, sim-wingdi.zip, sim-wingdi.7z, sim-gcc3.zip, sim-gcc3.7z, sim-gcc4.zip, sim-gcc4.7z )

http://simutrans-germany.com/~nightly/simutrans/stats.php

 

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
Nightly build site discussion
« Reply #15 on: September 29, 2008, 06:46:16 AM »
The Build-Server need some time to  get the SVN-Trunks, the Translations, to compile and to upload the Files to the Webserver.

After every Step (Compiling Gcc3, Gcc4, WIN-SDL, WIN-GDI, PAK64, PAK128) the new results were uploaded.

This is the Reason, that the Server need over 1,5h to generate. He beginn at 3.00 CET (or CEST) and end c.a. 4:30.

I Testet the Server with FF, Opera and Konquerer on Linux and it work for me ....

Edit:
I make a Change:
The Server upload the file AFTER he generate all files
« Last Edit: July 02, 2009, 04:29:02 PM by wernieman »

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
New nightly Build-Site
« Reply #16 on: October 14, 2008, 03:53:07 PM »
The new nightly-Build-Webside is definitly online!
http://nightly.simutrans-germany.com

It will be wonderfull, when you check your links ....

the "old one" will go offline .....

Thanks to everybody who help!

And a spezial thanks to Frank for PHP, help and the server!

Offline whoami

  • Devotees (Inactive)
  • *
  • Posts: 693
Re: New nightly Build-Site
« Reply #17 on: October 14, 2008, 11:09:03 PM »
the "old one" will go offline .....
What about all the links pointing there - will there be a DNS alias and/or HTTP redirect to keep them working?

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
Re: New nightly Build-Site
« Reply #18 on: October 15, 2008, 07:20:06 AM »
There will be an Webside with the Info of the new Server...

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
Nightly build site discussion
« Reply #19 on: October 16, 2008, 09:52:21 PM »
Can somebody change the link on the first post?

The nightlys are at now http://nightly.simutrans-germany.com

Ore unstig this Thread an make a new one ;o)

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4086
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Nightly build site discussion
« Reply #20 on: October 16, 2008, 11:21:08 PM »
Can somebody change the link on the first post?

This somebody is me... ::)

Okay, link updated.

Thanks. :)

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4086
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: New nightly Build-Site
« Reply #21 on: October 16, 2008, 11:36:10 PM »
Congratulations for new site. :D

Offline robofish

  • Devotees (Inactive)
  • *
  • Posts: 130
  • Languages: DE, EN
Re: New nightly Build-Site
« Reply #22 on: October 17, 2008, 10:09:41 PM »
good job *thumbsUp*
the background colors don't just structure the page nicely, they also create a kind of fresh look :D

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
Nightly build site discussion
« Reply #23 on: November 17, 2008, 11:21:53 PM »
« Last Edit: November 21, 2008, 01:39:44 PM by Frank »

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Nightly build site discussion
« Reply #24 on: November 17, 2008, 11:27:31 PM »
Thanks Frank, Spanish translation is on the way...  ;D
« Last Edit: November 17, 2008, 11:37:02 PM by vilvoh »

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Nightly build site discussion
« Reply #25 on: November 18, 2008, 11:38:44 PM »
Done....I've added this line at Thanks section:
Quote
Gracias a Vilvoh por ayudarme con la traducción al español<br

translation
Quote
thanks to vilvoh for helping me with spanish translation

I hope you don't mind.... :)

BTW, instead of Thanks , I would use Acknowledgements.

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
Nightly build site discussion
« Reply #26 on: November 18, 2008, 11:56:44 PM »
Thanks vilvoh

added



sorry, links.en.txt is no longer necessary
« Last Edit: November 19, 2008, 12:14:09 AM by Frank »

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4086
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Nightly build site discussion
« Reply #27 on: November 19, 2008, 02:05:08 AM »
I saw that there's no ES flag in Nightly Build site.

Then...  ::)

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
Nightly build site discussion
« Reply #28 on: November 19, 2008, 08:38:09 AM »
Where I have the other flags (English and German) is a Spain Flag too .... so I use this.

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Nightly build site discussion
« Reply #29 on: November 19, 2008, 08:42:32 AM »
If you want small flag icons, you may use FamFam Flag Icon Set

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
Nightly build site discussion
« Reply #30 on: November 19, 2008, 08:48:41 AM »
Thanks ... but at the Moment we have enough place for "big Flags".

The Flags I use are (c) free, but I set a Link to the Creator (see the Copyright-Sektion of the page)
http://simutrans-germany.com/~nightly/simutrans/index.php?lang=en#_Copyright

Offline Francisco

  • *
  • Posts: 27
  • Francisco Gonçalves
Nightly build site discussion
« Reply #31 on: November 20, 2008, 02:13:29 AM »
Hi, I think it's done..........

Portuguese Translation of Nightly Build download page

Any error or problem return it to me that I'll happilly fix :D
And Igor (or anyone), if you think I can improve something, tell me ;)

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4086
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Nightly build site discussion
« Reply #32 on: November 20, 2008, 04:38:30 AM »
A Portuguese flag...

(I'm sorry Brazilians. I'm Brazilian too, but I have to recognize that Portuguese language came from Portugal)

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
Nightly build site discussion
« Reply #33 on: November 20, 2008, 08:36:53 AM »
Hey, we use the english-flag for english  ... not the american or australian-flag ;o)

And the german for: switzerland, austria and .. germany ;o)

So there schould not be the problem to use the portugal-flag for the portuguese language

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Nightly build site discussion
« Reply #34 on: November 20, 2008, 08:52:37 AM »
There are more countries with the same language, but they are represented by flags