[Gambas-user] "New" gambas-basic.org website

Christof Thalhofer chrisml at deganius.de
Sun Feb 11 23:25:51 CET 2018


Am 10.02.2018 um 18:45 schrieb Adrien Prokopowicz:

> Ooh okay, I thought you wanted to personally host it. Of course having 
> this handled by professionnals is much better. :-)

Oh, thank you ;-)

:-)

>> gambas-basic.org belongs to Benoît, he decides where the DNS delegates a
>> subdomain to.
> 
> Of course! I'm not trying to decide for him, I'm just exploring and 
> questionning all the possibilities. :-)

No problem.

> That's pretty cool! The only missing feature that I'm used to is having 
> some form of horizontal scalability (with some load balancing), but as 
> you said in an earlier message, I don't think we should be too worried 
> about load. ;-)

If we generate real load, I think we could pay it then. The only thing
that creates much traffic IMO are the downloads and they are on Gitlab.

>>>> It is already there :-) ... in the repo :-) ... in my repo :-)
>>>
>>> Can you give me a link ? I searched for "Christof Thalhofer" on GitLab
>>> but with no success …
>>
>> No, the repo is on my computer ;-) that was a joke.
>>
> 
> Oh, I didn't get that, sarcasm doesn't get transcribed very well on text 
> (which is why /s was invented I guess).

It was no sarcasm, because it's real. *Git is decentralized*. Gitlab is
just one of a lot of places, were the repository really is.

That is good and bad. The goods thing is, that if Gitlab collapses, the
repo is still there. On many computers. You literally cannot destroy it!

The bad thing is: You should not change the history of the repo because
it is not your own any more. Look at that:

https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History

And there: "The Nuclear Option: filter-branch"

Cite:

"The command is filter-branch, and it can rewrite huge swaths of your
history, so you probably shouldn’t use it unless your project isn’t yet
public and other people haven’t based work off the commits you’re about
to rewrite."

So: Do only rewrite history that you have not committed. Never rewrite
history that is public! And do not store passwords or private keys in
the repo.

You can fuckup a lot of other's work by changing history that others
depend on ... !

This is different from SVN!

> That's great !
> Do you think it is possible to have an automatic deployment system 
> similar to what GitLab does, so the website could be generated and 
> deployed by simply pushing to the master branch ?

I see no problem here. Anything that works on a homedir of any debian
system works here also. We could place a Git repo there and do some code
in a hook to deploy the website.

Are you the one who is responsible for the current website of Gambas?
Then please send me a private mail with a public ssh key.

> If you want to check out the site generator project to see how it works, 
> you can get the source here[0]. As you can see it is quite a simple 
> project in the end. :-)

I believe. ;-)

Currently I am deeply involved in my own work, sorry I do not have that
much time ...

> The only problem for now is that the HTTPS site doesn't really work, 
> since the inner frame loads gambaswiki.org in plaintext, and browsers 
> (rightfully) block mixed-content requests. Fixing it requires deploying 
> HTTPS on gambaswiki.org, which we should do at some point, but it's not 
> too much of a deal for now.

This is a very ugly construction and can eventually lead to downranking
in search engines.

At HS we install free https certificates automatically from
https://letsencrypt.org/.

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180211/70fbe0a1/attachment.sig>


More information about the User mailing list