Project

General

Profile

Actions

tickets #30322

closed

move the static.o.o content to a combined repository

Added by tampakrap over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Servers hosted in NBG
Target version:
-
Start date:
2018-01-14
Due date:
% Done:

0%

Estimated time:

Description

The static.o.o content is scattered around various git repos and local files. All of the vhosts content should move to one git repository, so that we can have easier deployments

Actions #1

Updated by tampakrap over 6 years ago

  • Private changed from Yes to No
Actions #2

Updated by tampakrap almost 6 years ago

  • Assignee set to tampakrap

https://github.com/tampakrap/static.opensuse.org please review before we move under the official github and deploy it to production. There is a NOTES file https://github.com/tampakrap/static.opensuse.org/blob/master/NOTES with git repos were specific directories were coming from, plus untracked files from those repos. I ran git pull in all of them in my repo, while in the server they are not fully updated.

My first concern is that the whole openSUSE/landing-page is duplicated under the hosts/www.o.o directory

Actions #3

Updated by cboltz almost 6 years ago

I checked your static.o.o repo, and it looks like you migrated everything correctly :-)

There is one detail I don't like too much - you ignored all the git history. I understand this made things much easier, and I'm not sure if it's worth the effort to keep the history or if your NOTES file is good enough, so feel free to ignore this comment ;-) Note that at least for the gitorious repo, we'll permanently loose history because the old repo is no longer available.

One minor detail - please add a headline and a date to your NOTES file ;-) (and maybe rename it to something like SOURCES or HISTORY)

When you move the static.o.o to our official github namespace, please add a README to the old repos (with a pointer to the static.o.o repo) and then mark them as archived (read-only) to make sure people push their changes to the static.o.o repo.

My first concern is that the whole openSUSE/landing-page is duplicated under the hosts/www.o.o directory

To make things even more funny, hosts/www.o.o/ looks like a previous version of www.o.o - but if you consider removing it, please check at least a week of access_log to make sure nobody still uses files from there. You might be surprised how many people hotlink images (like the openSUSE logo) on their page, and since this gives us some free advertising, I'd recommend not to break that ;-)

Actions #4

Updated by tampakrap almost 6 years ago

your point about the history is very good. So how about we keep the split repos approach, and add a .gitignore to those dirs?

Actions #5

Updated by cboltz almost 6 years ago

This will result in some additional "git pull" cronjobs, but that's not a real problem IMHO - so yes, keeping the split repos + a new static.o.o repo with a) currently untracked files and b) future additions makes sense.

Actually it might be a good idea to use the webdesign/ repo as starting point for the static.o.o repo (to avoid its gitorious history gets lost), move all its files to the webdesign/directory, and then add the untracked files.

Actions #6

Updated by tampakrap almost 6 years ago

I took the logs from all three narwal[1-3] VMs, which go back to january 2018 for narwal[1-2] and to october 2017 for narwal3. I grepped only for /hosts/www.o.o and for requests that returned 200. Below are the sorted unique URLs that were requested:

/hosts/www.o.o/css/fancybox.css
/hosts/www.o.o/css/frontpage.css
/hosts/www.o.o/css/jquery.jcarousel.css
/hosts/www.o.o/css/jquery.jcarousel.skin.opensuse.css
/hosts/www.o.o/images/fancybox/fancy_closebox.png
/hosts/www.o.o/images/fancybox/fancy_left.gif
/hosts/www.o.o/images/fancybox/fancy_progress.png
/hosts/www.o.o/images/fancybox/fancy_right.gif
/hosts/www.o.o/images/fancybox/fancy_shadow_e.png
/hosts/www.o.o/images/fancybox/fancy_shadow_ne.png
/hosts/www.o.o/images/fancybox/fancy_shadow_n.png
/hosts/www.o.o/images/fancybox/fancy_shadow_nw.png
/hosts/www.o.o/images/fancybox/fancy_shadow_se.png
/hosts/www.o.o/images/fancybox/fancy_shadow_s.png
/hosts/www.o.o/images/fancybox/fancy_shadow_sw.png
/hosts/www.o.o/images/fancybox/fancy_shadow_w.png
/hosts/www.o.o/images/fancybox/fancy_title_left.png
/hosts/www.o.o/images/fancybox/fancy_title_main.png
/hosts/www.o.o/images/fancybox/fancy_title_right.png
/hosts/www.o.o/images/flags/br.png
/hosts/www.o.o/images/flags/cn.png
/hosts/www.o.o/images/flags/cz.png
/hosts/www.o.o/images/flags/de.png
/hosts/www.o.o/images/flags/dk.png
/hosts/www.o.o/images/flags/es.png
/hosts/www.o.o/images/flags/fi.png
/hosts/www.o.o/images/flags/fr.png
/hosts/www.o.o/images/flags/gb.png
/hosts/www.o.o/images/flags/gr.png
/hosts/www.o.o/images/flags/hu.png
/hosts/www.o.o/images/flags/it.png
/hosts/www.o.o/images/flags/jp.png
/hosts/www.o.o/images/flags/lt.png
/hosts/www.o.o/images/flags/nl.png
/hosts/www.o.o/images/flags/no.png
/hosts/www.o.o/images/flags/pl.png
/hosts/www.o.o/images/flags/ru.png
/hosts/www.o.o/images/flags/sk.png
/hosts/www.o.o/images/flags/th.png
/hosts/www.o.o/images/flags/tw.png
/hosts/www.o.o/images/frontpage/box_border_bottom.png
/hosts/www.o.o/images/frontpage/box_border_middle.png
/hosts/www.o.o/images/frontpage/box_border_top.png
/hosts/www.o.o/images/frontpage/box_content_create.png
/hosts/www.o.o/images/frontpage/box_content_discover.png
/hosts/www.o.o/images/frontpage/box_content_get.png
/hosts/www.o.o/images/frontpage/box_search.png
/hosts/www.o.o/images/frontpage/button_screenshots_hide.jpg
/hosts/www.o.o/images/frontpage/button_screenshots_show.jpg
/hosts/www.o.o/images/frontpage/geeko_green.png
/hosts/www.o.o/images/frontpage/geeko_orange.png
/hosts/www.o.o/images/frontpage/help.png
/hosts/www.o.o/images/frontpage/magnifier.png
/hosts/www.o.o/images/frontpage/novell_logo.jpg
/hosts/www.o.o/images/frontpage/opensuse_sticker.jpg
/hosts/www.o.o/images/frontpage/rss_icon.png
/hosts/www.o.o/images/frontpage/searchbox_arrow.png
/hosts/www.o.o/images/frontpage/searchbox_bg.png
/hosts/www.o.o/images/frontpage/shop_shirt.png
/hosts/www.o.o/images/jcarousel_skins/opensuse/next-horizontal.png
/hosts/www.o.o/images/jcarousel_skins/opensuse/prev-horizontal.png
/hosts/www.o.o/images/screenshots/thumbs/1.Gnome3_Shell.png
/hosts/www.o.o/images/screenshots/thumbs/1.Installer_Bootscreen.png
/hosts/www.o.o/images/screenshots/thumbs/4.KDE_4-6_Netbook_User_Interface.png
/hosts/www.o.o/images/screenshots/thumbs/4.KDE_Widgets.png
/hosts/www.o.o/images/screenshots/zoom/10.png
/hosts/www.o.o/images/screenshots/zoom/10.png?rand=751067873
/hosts/www.o.o/images/screenshots/zoom/1.png
/hosts/www.o.o/images/screenshots/zoom/1.png?rand=435438898
/hosts/www.o.o/images/screenshots/zoom/1.png?rand=552212887
/hosts/www.o.o/images/screenshots/zoom/1.png?rand=60109153
/hosts/www.o.o/images/screenshots/zoom/1.png?rand=744658811
/hosts/www.o.o/images/screenshots/zoom/2.jpg
/hosts/www.o.o/images/screenshots/zoom/2.jpg?rand=165046764
/hosts/www.o.o/images/screenshots/zoom/2.jpg?rand=192162437
/hosts/www.o.o/images/screenshots/zoom/2.jpg?rand=258383181
/hosts/www.o.o/images/screenshots/zoom/2.jpg?rand=350185216
/hosts/www.o.o/images/screenshots/zoom/2.jpg?rand=404911963
/hosts/www.o.o/images/screenshots/zoom/2.jpg?rand=483846239
/hosts/www.o.o/images/screenshots/zoom/2.jpg?rand=817153904
/hosts/www.o.o/images/screenshots/zoom/2.jpg?rand=822944543
/hosts/www.o.o/images/screenshots/zoom/2.jpg?w=240
/hosts/www.o.o/images/screenshots/zoom/2.png
/hosts/www.o.o/images/screenshots/zoom/2.png?rand=438420574
/hosts/www.o.o/images/screenshots/zoom/2.png?rand=707864063
/hosts/www.o.o/images/screenshots/zoom/2.png?rand=947736481
/hosts/www.o.o/images/screenshots/zoom/3.png
/hosts/www.o.o/images/screenshots/zoom/3.png?rand=22323027
/hosts/www.o.o/images/screenshots/zoom/3.png?rand=486493436
/hosts/www.o.o/images/screenshots/zoom/3.png?rand=999392711
/hosts/www.o.o/images/screenshots/zoom/4.png
/hosts/www.o.o/images/screenshots/zoom/4.png?rand=246523977
/hosts/www.o.o/images/screenshots/zoom/4.png?rand=270915382
/hosts/www.o.o/images/screenshots/zoom/4.png?rand=342998852
/hosts/www.o.o/images/screenshots/zoom/4.png?rand=460319379
/hosts/www.o.o/images/screenshots/zoom/4.png?rand=547137821
/hosts/www.o.o/images/screenshots/zoom/5.jpg
/hosts/www.o.o/images/screenshots/zoom/5.jpg?rand=238958420
/hosts/www.o.o/images/screenshots/zoom/5.jpg?rand=597882833
/hosts/www.o.o/images/screenshots/zoom/5.png
/hosts/www.o.o/images/screenshots/zoom/5.png?rand=332747859
/hosts/www.o.o/images/screenshots/zoom/6.png
/hosts/www.o.o/images/screenshots/zoom/6.png?rand=416374612
/hosts/www.o.o/images/screenshots/zoom/6.png?rand=585614015
/hosts/www.o.o/images/screenshots/zoom/7.jpg
/hosts/www.o.o/images/screenshots/zoom/7.jpg?rand=329104014
/hosts/www.o.o/images/screenshots/zoom/7.jpg?rand=855251836
/hosts/www.o.o/images/screenshots/zoom/7.png?rand=918434397
/hosts/www.o.o/images/screenshots/zoom/8.png
/hosts/www.o.o/images/screenshots/zoom/8.png?rand=785592903
/hosts/www.o.o/images/screenshots/zoom/9.png
/hosts/www.o.o/images/screenshots/zoom/9.png?rand=564170204
/hosts/www.o.o/images/screenshots/zoom/9.png?rand=851663261
/hosts/www.o.o/js/frontpage.js
/hosts/www.o.o/js/ie6_pngfix.js
/hosts/www.o.o/js/jquery-1.2.6.min.js
/hosts/www.o.o/js/jquery.dimensions.js
/hosts/www.o.o/js/jquery.fancybox-1.0.0.js
/hosts/www.o.o/js/jquery.jcarousel.pack.js
/hosts/www.o.o/js/jquery.reflect.js
/hosts/www.o.o/js/jquery.selectbox.js
Actions #7

Updated by tampakrap almost 6 years ago

I replaced the bundled repositories with git submodules. For the hosts/www.o.o I replaced it with the openSUSE/old-landing-page repository and added also the files that were on the server only. Anything else needed?

Actions #8

Updated by tampakrap over 5 years ago

  • Status changed from New to Closed

cboltz gave me green light, so the repo is now moved to https://github.com/openSUSE/static.opensuse.org and I will deploy it to cloudfoundry in a few days

Actions #9

Updated by tampakrap over 5 years ago

Actually, it is already deployed on cloudfoundry under http://static.cf.infra.opensuse.org/ I will put https://static.opensuse.org/ to point to this cloudfoundry app next week

Actions

Also available in: Atom PDF