mockito / mockito.github.io

Mockito site project
http://mockito.org
18 stars 40 forks source link

Switch from mockito.org to mockito.github.io #16

Closed TimvdLippe closed 7 years ago

TimvdLippe commented 8 years ago

We now have an external hosted site which has several issues, most notably the iframe inclusion as well as opening links (pointing you to a completely different website) and developers unable to access this external server.

Since managing and maintaining this server is a big hassle, I would propose to drop mockito.org and switch to mockito.github.io. GitHub takes care of the hosting and deploying the new website as well as updating the website is a lot easier. Do you agree @mockito/developers ?

marcingrzejszczak commented 8 years ago

A very good idea!

bric3 commented 8 years ago

Ask @szczepiq to hand over mockito.org

Also note that maven central requires to have a website matching the packages.

mockitoguy commented 8 years ago

mockito.github.io already works :)

What do you mean by 'dropping mockito.org'? Do you mean to give out the domain and rely on github DNS? If that's the case, I'm stronly against, because:

mockito.org needs to be fixed (I have a plan, will roll it out soon :DDDDD). Take a look at site.mockito.org - it works prefectly and I want to make mockito.org work this way.

Cheers!

On Sun, Aug 14, 2016 at 3:58 AM, Brice Dutheil notifications@github.com wrote:

Ask @szczepiq https://github.com/szczepiq to hand over mockito.org

Also note that maven central requires to have a website matching the packages.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mockito/mockito.github.io/issues/16#issuecomment-239667550, or mute the thread https://github.com/notifications/unsubscribe-auth/AABgpwsLIhQuSiGBU2GjnEtGfYuKYZ4iks5qfvTjgaJpZM4JjutD .

Szczepan Faber Founder @ mockito.org | Twitter @ szczepiq Author @ https://www.linkedin.com/today/author/6016386

TimvdLippe commented 8 years ago

With "dropping mockito.org" I meant stop maintaining a separate server, but instead just redirect all traffic to mockito.github.io directly (instead of the iframe). E.g. github becomes our main host and mockito.org is merely a redirect and hosts no files itself.

bric3 commented 8 years ago

@szczepiq you have to change the settings of your domain registrar, to use the CNAME section of the DNS.

mockitoguy commented 8 years ago

@Tim, this works, thanks!

@Brice, I've tried doing that many times and I failed. It could be that my DNS provider sucks. Can you guys help me out? Perhaps we could schedule a pairing session, screen share and configure the DNS settings myself. My plan was to move from my Polish provider to GoDaddy. With the latter I was able to get the redirection working nicely.

Cheers!

On Mon, Aug 15, 2016 at 5:48 AM, Brice Dutheil notifications@github.com wrote:

@szczepiq https://github.com/szczepiq you have to change the settings of your domain registrar, to use the CNAME section of the DNS.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mockito/mockito.github.io/issues/16#issuecomment-239793548, or mute the thread https://github.com/notifications/unsubscribe-auth/AABgpzVrkS1oRgnzzbsOJiKKCbHdWj0lks5qgGAGgaJpZM4JjutD .

Szczepan Faber Founder @ mockito.org | Twitter @ szczepiq Author @ https://www.linkedin.com/today/author/6016386

bric3 commented 8 years ago

Ok. Yes that could be the DNS provider. If moving to GoDaddy or else is known to work then ok. I don't know the prices of the domain, but I'm using OVH it's French but they have their business worldwide.

bric3 commented 8 years ago

What is your polish provider?

TimvdLippe commented 8 years ago

@szczepiq I assume you mean the site.mockito.org configuration? Yes that seems to be working. Working history, back and forth buttons and ctrl + click :tada:

LGTM to swap over mockito.org iframe to the site configuration. I would prefer to not use site. all the time, but I assume that is your end-goal too?

bric3 commented 8 years ago

The iframe comes from the DNS provider. What would be cool however is to have a javadoc.mockito.org however I'm not sure this kind of setup with github right now.

mockitoguy commented 8 years ago

Eng goal is that mockito.org just works ;)

More aliases for stuff would be awesome, e.g. javadoc.mockito.org, issues.mockito.org, etc. I'll try out with the other provider and if I can achieve it, I'll work on switching over the providers.

Thanks guys for pushing this. It needs to addressed.

On Sun, Aug 21, 2016 at 4:40 AM, Brice Dutheil notifications@github.com wrote:

The iframe comes from the DNS provider. What would be cool however is to have a javadoc.mockito.org however I'm not sure this kind of setup with github right now.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mockito/mockito.github.io/issues/16#issuecomment-241252687, or mute the thread https://github.com/notifications/unsubscribe-auth/AABgp9pc0x6YCBl8f_gDcUPCKa8dXfPnks5qiDkTgaJpZM4JjutD .

Szczepan Faber Founder @ mockito.org | Twitter @ szczepiq Author @ https://www.linkedin.com/today/author/6016386

bric3 commented 8 years ago

@szczepiq Any news on the DNS front ? This affect issues like #11

Sicaine commented 7 years ago

Just for your Information and perhaps to help others: For me on arch linux with the newest Chrome and Firefox, all links from mockito.org lead to a white page (i'm guessing the iframe thing creates this issue)

bric3 commented 7 years ago

@Sicaine Unfortunately without credentials we cannot do anything

mockitoguy commented 7 years ago

This should be fixed now, see https://github.com/mockito/mockito/issues/393