From 48f51dea411885e510cb9aa2887e83be289232f6 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 2 Feb 2012 14:12:46 -0600 Subject: Add a retro site view and link it to a URL This is from our friends at web.archive.org, who's earliest capture of the Arch Linux website was on March 28, 2002. Seems like something nice to do around the 10th anniversary of the website being up and the distro being around, and not hotlinking their servers also seems like a good idea. Signed-off-by: Dan McGee --- retro/__init__.py | 0 retro/models.py | 0 retro/static/archlogo_black-20020328.gif | Bin 0 -> 8889 bytes retro/static/main-20020328.css | 145 ++++++++++++++++++++++++++++++ retro/static/sflogo-20020328.png | Bin 0 -> 2113 bytes retro/templates/retro/index-20020328.html | 137 ++++++++++++++++++++++++++++ retro/tests.py | 0 retro/views.py | 19 ++++ settings.py | 1 + urls.py | 4 + 10 files changed, 306 insertions(+) create mode 100644 retro/__init__.py create mode 100644 retro/models.py create mode 100644 retro/static/archlogo_black-20020328.gif create mode 100644 retro/static/main-20020328.css create mode 100644 retro/static/sflogo-20020328.png create mode 100644 retro/templates/retro/index-20020328.html create mode 100644 retro/tests.py create mode 100644 retro/views.py diff --git a/retro/__init__.py b/retro/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/retro/models.py b/retro/models.py new file mode 100644 index 00000000..e69de29b diff --git a/retro/static/archlogo_black-20020328.gif b/retro/static/archlogo_black-20020328.gif new file mode 100644 index 00000000..b4f979f4 Binary files /dev/null and b/retro/static/archlogo_black-20020328.gif differ diff --git a/retro/static/main-20020328.css b/retro/static/main-20020328.css new file mode 100644 index 00000000..82173c9e --- /dev/null +++ b/retro/static/main-20020328.css @@ -0,0 +1,145 @@ +a:visited { + color: #dddddd; + text-decoration: none; + font-weight: bold; +} + +a:link { + color: #dddddd; + text-decoration: none; + font-weight: bold; +} + +a:hover { + color: #cccc00; + text-decoration: none; + font-weight: bold; +} + +a.menu { + text-decoration: none; + color: #ffffff; + font-family: Arial; + font-size: 12pt; +} + +body { + font-family: Arial; + background: #222222 none; +} + +b { + font-weight: bold; + font-family: Arial; + font-size: 13pt; +} + +b.normal { + font-weight: bold; + font-family: Arial; + font-size: 12pt; +} + +.text { + font-family: Arial; + font-size: 12pt; +} + +.quote { + font-family: Arial; + font-style: italic; + font-size: 11pt; +} + +.technical { + font-family: Courier; + color: #eeeeee; + font-size: 10pt; +} + +.fineprint { + font-family: Arial; + font-size: 10pt; +} + +.header { + color: #cccccc; + font-family: Arial; + font-size: 28pt; + font-weight: bolder; +} + +.subheader { + color: #eeeeee; + font-family: Arial; + font-size: 24pt; + font-weight: bold; +} + +ul.plain { + list-style: none; + font-family: Arial; + font-size: 12pt; +} + +ul.list { + list-style: square; + font-family: Arial; + font-size: 12pt; +} + +table.border { + /*background-image: url('bg.gif');*/ + background-repeat: no-repeat; + background-color: #000000; + border-bottom: #cccccc 1px solid; + border-left: #cccccc 1px solid; + border-right: #cccccc 1px solid; + border-top: #cccccc 1px solid; + width: 93%; + padding: 5px; +} + +table.menu { + background-image: none; + background-color: none; + border-bottom: #cccccc 1px solid; + border-left: #cccccc 1px solid; + border-right: #cccccc 1px solid; + border-top: #cccccc 1px solid; + padding: none; + font-family: Arial; + font-size: 12pt; +} + +table.normal { + border-bottom: #cccccc 1px solid; + border-top: #cccccc 1px solid; + padding: none; + font-family: Arial; + font-size: 12pt; +} + +table.technical { + border-bottom: #cccccc 1px solid; + border-top: #cccccc 1px solid; + padding: none; + font-family: Courier; + font-size: 10pt; +} + +td { + color: #dddddd; + font-family: Arial; + font-size: 12pt; +} + +td.menu { + border-left: #cccccc 1px solid; + border-right: #cccccc 1px solid; + color: #dddddd; + text-align: center; + white-space: nowrap; + font-family: Arial; + font-size: 10pt; +} diff --git a/retro/static/sflogo-20020328.png b/retro/static/sflogo-20020328.png new file mode 100644 index 00000000..1b2870c0 Binary files /dev/null and b/retro/static/sflogo-20020328.png differ diff --git a/retro/templates/retro/index-20020328.html b/retro/templates/retro/index-20020328.html new file mode 100644 index 00000000..3aec812b --- /dev/null +++ b/retro/templates/retro/index-20020328.html @@ -0,0 +1,137 @@ + + +Arch Linux + + + + + + +
+ + +
+
+Release: 0.1 (Homer)
+Devel:   0.2 +

+ + + + + + + + + + +
+
+Arch Logo
+ + +
+
+ +

News

+Mar 18 - pacman 1.2 released +

  • I've put a pacman-1.2 package up on the ftp site. This version + comes with the pacsync utility, which lets you automatically download and install + packages and otherwise keep your system up to date.
+Mar 13 - rsync server in place +
  • I've set up an rsync server on archlinux.org. This will let + everybody keep their /usr/abs tree up to date, and it will also let you easily + mirror the ftp site. I'm in need of download mirrors, so please, if anybody would + like to volunteer, email me and I'll put you on the mirror page.

    + If you don't already have it, create the directory /usr/abs. Then to + update your /usr/abs tree, you can do the following:
    +
    # cd /usr/abs && rsync -av archlinux.org::abs .
    +
+Mar 11 - Arch Linux 0.1 (Homer) released +
  • I've finally got a bootable iso image on the ftp site. + The bad news is that you don't get a pretty interactive installer. But if + you wanted one of those, you would have gone with RedHat, right?   ;)

    + Here's a short list of some future plans for 0.2:
      +
    • Document ABS (Arch Build System) and provide a cvs-like update method so people + can start building their own packages. +
    • Finish the contrib area and start posting third-party packages. +
    • Finish pacman 1.2 -- this will allow you to update your entire system with + the latest stable version of all packages, all with one command. +
    • Add a pretty interactive installer. ;) +
    • Add more documentation -- our docs really suck right now. Please! If you have + questions, just ask! Also, if you + want to help out in any way, please let me know. + I'm a student so my free time comes and goes at the will of my evil profs. +

    + I'll try to get the docs up for ABS (Arch Build System) which, IMHO, is one + of the best advantages of Arch. With ABS, you can easily create new packages, + and it's trivial to rebuild existing packages with your own customizations.

    + And on that note, if you start to use the ABS and build your own packages, I welcome + your submissions. My "development team" is working on a contrib area as we speak. ;) +
+

+
+ +

About

+Arch Linux is an i686-optimized linux distribution based on ideas from + CRUX, a great distribution developed by Per Lidén. It is lightweight and + contains the latest stable versions of software. Packages are in .tar.gz format and are tracked + by a package manager that is designed to allow easy package upgrades. Arch is quite streamlined + compared to some other distributions. Things that are relatively unused (by me, anyway) are not + kept (info-pages, for example). A default Arch install leaves you with a solid base; from there, + you can add packages to create the custom installation you're looking for. Arch has a package + build system that allows you to easily create your own packages, which makes it very easy to + rebuild a package with your own custom configuration. Arch also aims to use the newer features + available to linux users, such as reiserfs/ext3 and devfs. +

+
+ +

Components

+All components are optional, of course. It's your system -- build it however you want.
+

    +
  • Linux Kernel 2.4.18
  • +
  • XFree86 4.2.0
  • +
  • glibc 2.2.5
  • +
  • gcc 2.95.3
  • +
  • OpenSSH 3.1p1
  • +
  • Mozilla 0.9.9
  • +
  • WindowMaker 0.80.0
  • +
  • Vim 6.1
  • +
  • Reiserfsprogs 3.x.1b
  • +
  • devfsd 1.3.22
  • +
  • ... and more ...
  • +
+

+
+ +

Mailing List

+There is a mailing list in place for general discussion about +Arch Linux. Here, you can post questions, problems, solutions, ideas, etc. To +subscribe to the list, send an email to arch-request@archlinux.org with +subscribe as the subject.

+Alternatively, you can click +here to use the web interface. +
+

+
+ +

IRC

+The project is still in its early stages of development. If you are one + of those brave souls who has installed it and you're seeking help, you can usually find me + on #archlinux at irc.openprojects.net. My nick is + apeiro. +

+ +
+
+Questions? Comments? Mail em here! +

+Copyright ©2002, Judd Vinet +<jvinet@zeroflux.org> + + + SourceForge Logo +

+ + diff --git a/retro/tests.py b/retro/tests.py new file mode 100644 index 00000000..e69de29b diff --git a/retro/views.py b/retro/views.py new file mode 100644 index 00000000..ba1109b0 --- /dev/null +++ b/retro/views.py @@ -0,0 +1,19 @@ +from django.http import Http404 +from django.views.decorators.cache import cache_page +from django.views.generic.simple import direct_to_template + + +RETRO_YEAR_MAP = { + 2002: 'index-20020328.html', +} + + +@cache_page(1800) +def retro_homepage(request, year): + year = int(year) + template = RETRO_YEAR_MAP.get(year, None) + if template is None: + raise Http404 + return direct_to_template(request, 'retro/%s' % template, {}) + +# vim: set ts=4 sw=4 et: diff --git a/settings.py b/settings.py index a760ce84..9aba3881 100644 --- a/settings.py +++ b/settings.py @@ -117,6 +117,7 @@ 'public', 'releng', 'visualize', + 'retro', ) ## Server used for linking to PGP keysearch results diff --git a/urls.py b/urls.py index 946c7ecd..a061f030 100644 --- a/urls.py +++ b/urls.py @@ -70,6 +70,10 @@ (r'^master-keys/$', 'keys', {}, 'page-keys'), ) +urlpatterns += patterns('retro.views', + (r'^retro/(?P[0-9]{4})/$', 'retro_homepage', {}, 'retro-homepage'), +) + # Includes and other remaining stuff urlpatterns += patterns('', # cache this static JS resource for 1 week rather than default 5 minutes -- cgit v1.2.3-54-g00ecf