summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-08 00:50:57 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-08 00:50:57 +0200
commit3b8dc6b9595a3e2abfbc2d031c09635f28677c56 (patch)
treecab625d5a6a6259005e4752598e39a502cc25269
parentc655f9f76944de41d9f138e2cd61450da9adce49 (diff)
downloadweb-3b8dc6b9595a3e2abfbc2d031c09635f28677c56.tar.gz
web-3b8dc6b9595a3e2abfbc2d031c09635f28677c56.tar.bz2
web-3b8dc6b9595a3e2abfbc2d031c09635f28677c56.zip
Added changelog
-rw-r--r--changelogs/0.10.txt10
-rw-r--r--changelogs/0.11.txt14
-rw-r--r--changelogs/0.12.txt15
-rw-r--r--changelogs/0.13.txt11
-rw-r--r--changelogs/0.8.5.txt9
-rw-r--r--changelogs/0.8.6.2.txt1
-rw-r--r--changelogs/0.8.6.txt9
-rw-r--r--changelogs/0.9.0.txt14
-rw-r--r--helper.py26
-rw-r--r--static/css/style.css10
-rw-r--r--templates/page.mako4
-rw-r--r--templates/pages/changelog.mako19
-rw-r--r--templates/pages/development.mako2
-rw-r--r--templates/pages/download.mako3
14 files changed, 141 insertions, 6 deletions
diff --git a/changelogs/0.10.txt b/changelogs/0.10.txt
new file mode 100644
index 0000000..2e4a08b
--- /dev/null
+++ b/changelogs/0.10.txt
@@ -0,0 +1,10 @@
+- NEW: interactive search - get results while typing
+- NEW: the list of useflags is also displayed in the "general" tab
+- NEW: dependency-tab
+- NEW: show slots in the version list
+- NEW: to get all important version information if an error occurred, they are now displayed right below the error message :)
+- NEW: also show use flag descriptions of packages in overlays (added since the beta)
+- I18N: turkish translation :)
+- FIX: fixed bugs, which made the window increase in version 0.9.0.x
+- FIX: lots of other bugs ;)
+- REGRESSION: GTK is the only supported frontend now
diff --git a/changelogs/0.11.txt b/changelogs/0.11.txt
new file mode 100644
index 0000000..b67b997
--- /dev/null
+++ b/changelogs/0.11.txt
@@ -0,0 +1,14 @@
+- NEW: allowed collapsed categories -- similar to porthole
+- NEW: make max. title length of the console changeable by the user
+- NEW: added shortcut for "Reload Portage"
+- NEW allow to send bug report directly per mail
+- NEW: allowed to dismiss the warning dialogs for keywords/useflags
+- NEW: complete new plugin system rewrite
+- NEW: portage-2.2 support
+- NEW: added new configuration possibilites: colors; max num of scrollback lines
+- NEW: support for multiple emerge-jobs (see: parallel builds for portage-2.2)
+- CHANGE: move --oneshot from menu to button
+- CHANGE: now only use external "shm" package
+- FIX: lots of bugs :)
+
+**Follow-up release:** _0.11.1_
diff --git a/changelogs/0.12.txt b/changelogs/0.12.txt
new file mode 100644
index 0000000..1448699
--- /dev/null
+++ b/changelogs/0.12.txt
@@ -0,0 +1,15 @@
+- NEW: can use an SQLite DB as internal database
+- NEW: sort by useflags in dependency list
+- NEW: make uselist and deplist lazy - i.e. load only if needed
+- NEW: remembers the height and width of the preference window
+- NEW: check prerequisites before starting
+- NEW: add color buttons to the preferences, so the colors can be changed
+- I18N: added Spanish translation (thx to Daniel Halens)
+- CHANGE: reorganize preferences
+- CHANGE: improvements in session handling
+- CHANGE: move from libglade to GtkBuilder
+- FIX: fixed searching
+- FIX: bugs fixed: #44, #41, #15, #47 and several others
+
+**Follow-up release:** _0.12.1_
+
diff --git a/changelogs/0.13.txt b/changelogs/0.13.txt
new file mode 100644
index 0000000..f416061
--- /dev/null
+++ b/changelogs/0.13.txt
@@ -0,0 +1,11 @@
+- NEW: allow lines w/o keyword in package.keywords
+- NEW: added support for ktsuss as su-frontend
+- NEW: add man-page
+- NEW: honor EAPI-masking
+- NEW: overhaul plugin system: now allow plugins to add widgets
+- CHANGE: remove the deprecated `-L` cmdline option: use `-F` instead
+- CHANGE: move some UI-Elements to extra plugins
+- CHANGE: do not allow `":"` to be an assignment operator in config files anymore
+- I18N: pt_BR translation - thanks to Alberto Federman Neto
+
+**Follow-up release:** _0.13.1_
diff --git a/changelogs/0.8.5.txt b/changelogs/0.8.5.txt
new file mode 100644
index 0000000..d0be7da
--- /dev/null
+++ b/changelogs/0.8.5.txt
@@ -0,0 +1,9 @@
+- added an uncaught exception dialog
+- i18n
+- new threading model for the emerge process
+- minor enhancements
+- added splash screen
+- added notifies
+- added listener / launch gksu/kdesu by ourselves
+- now showing differences between "installed" and "enabled" useflags
+- improved terminal
diff --git a/changelogs/0.8.6.2.txt b/changelogs/0.8.6.2.txt
new file mode 100644
index 0000000..2b78cd9
--- /dev/null
+++ b/changelogs/0.8.6.2.txt
@@ -0,0 +1 @@
+- changed the pipe version and use shm instead (fixes issues with kdesu)
diff --git a/changelogs/0.8.6.txt b/changelogs/0.8.6.txt
new file mode 100644
index 0000000..ef86241
--- /dev/null
+++ b/changelogs/0.8.6.txt
@@ -0,0 +1,9 @@
+- "porting" to python-2.5
+- adding support for the `--with-bdeps=y` option in `EMERGE_DEFAULT_OPTS`
+- fix update world
+- added support for pygtksourceview-2
+- adding support for the catapult backend
+- adding "Save As" button for the exception dialog
+- some tooltips and new button labels
+
+**Follow-up releases:** _0.8.6.1_
diff --git a/changelogs/0.9.0.txt b/changelogs/0.9.0.txt
new file mode 100644
index 0000000..18dff2e
--- /dev/null
+++ b/changelogs/0.9.0.txt
@@ -0,0 +1,14 @@
+- added view for "installed only"
+- removed "--ebuild" mode
+- added log, ebuild, files, and changelog as tabs
+- saved preferences (aka sessions)
+- added scrollbars to the update window
+- handle new "use defaults" correctly
+- allowed the permanent change of a plugin status
+- added "ALL" category
+- new design and handling
+- allowed interactive emerges
+- only remove already emerged packages from queue
+- improved "update world"
+
+**Follow-up releases:** _0.9.0.1_, _0.9.0.2_
diff --git a/helper.py b/helper.py
index 7f97824..1828b5e 100644
--- a/helper.py
+++ b/helper.py
@@ -1,6 +1,8 @@
import web
import os
import Image
+import markdown
+import cStringIO
opj = os.path.join
@@ -51,3 +53,27 @@ def getImages (path, tmpPath, size):
desc = d.read().strip()
yield (imgUrl, thumbUrl, desc)
+
+def getChangelogs (path):
+ if path[0] != '/': path = '/' + path
+ appPath = appdir(path[1:])
+
+ md = markdown.Markdown(safe_mode = "escape", output_format = "html4")
+
+ def ver_to_int (x):
+ x = x.split(".")[:-1]
+
+ pow = 3
+ res = 0
+ for i in x:
+ res += int(i) ** pow
+ pow -= 1
+ return res
+
+ for f in sorted((f for f in os.listdir(appPath) if f.endswith(".txt") and not f[0] == "."), key = ver_to_int, reverse = True):
+ io = cStringIO.StringIO()
+ md.convertFile(input = opj(appPath, f), output = io, encoding="utf8")
+ html = io.getvalue()
+ io.close()
+
+ yield (html, f[:-4])
diff --git a/static/css/style.css b/static/css/style.css
index caa829d..26973a7 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -31,12 +31,16 @@ h2 {
font-size: 23px;
}
+h3 {
+ font-size: 18px;
+}
+
p, ul, ol {
text-align: justify;
line-height: 20px;
}
-p + h2,h3,h4 {
+p + h2, p + h3 {
margin-top: 1.5em;
}
@@ -192,7 +196,7 @@ img.right {
padding-bottom: 5px;
}
-.content h2,h3,h4 {
+.content h2, .content h3 {
margin-bottom: 0.5em;
}
@@ -210,7 +214,7 @@ img.right {
margin: 0.5em 0.5em 2em 0.5em;
}
-.box h2 {
+.box h2, .box h3 {
margin-bottom: 15px;
font-size: 16px;
color: #FFFFFF;
diff --git a/templates/page.mako b/templates/page.mako
index 625a05c..aa2aa51 100644
--- a/templates/page.mako
+++ b/templates/page.mako
@@ -20,7 +20,7 @@ ${page_text}
## functions
-<%def name="h2()">
+<%def name="h2(tag='h2')">
<%
if self.attr.uses_toc:
c = capture(caller.body)
@@ -32,7 +32,7 @@ ${page_text}
else:
name = "#"
%>
- <h2><a name="${name}"><span class="hstart">» </span></a>${caller.body()}</h2>
+ <${tag}><a name="${name}"><span class="hstart">» </span></a>${caller.body()}</${tag}>
</%def>
<%def name="toc()">
diff --git a/templates/pages/changelog.mako b/templates/pages/changelog.mako
new file mode 100644
index 0000000..188b528
--- /dev/null
+++ b/templates/pages/changelog.mako
@@ -0,0 +1,19 @@
+<%!
+ title = "Changelog"
+ uses_toc = True
+%>
+
+<%inherit file="/page.mako" />
+<%def name="preface()">
+ <p>
+ This is a condensed changelog (starting with version <a href="#0.8.5">0.8.5</a>) for portato. The complete one can be found in the <a href="http://git.zakarum.de/portato.git/tree/doc/NEWS">sources</a>.
+ </p>
+
+ <p> <strong>Note:</strong> Releases with a forth version number (e.g. <em>0.9.0.2</em>) is a bugfix release and therefore not mentioned extra. From <a href="#0.10">0.10</a> onwards, the third part is omitted. This means, that now everything with a third number is a bugfix release.
+ </p>
+</%def>
+
+% for html, name in h.getChangelogs("/changelogs"):
+ <%self:h2 tag="h3">${name}</%self:h2>
+ ${html}
+% endfor
diff --git a/templates/pages/development.mako b/templates/pages/development.mako
index 158c84a..4fb44a5 100644
--- a/templates/pages/development.mako
+++ b/templates/pages/development.mako
@@ -52,7 +52,7 @@ git checkout -b 0.13 origin/0.13
<%self:h2>Documentation</%self:h2>
<p>
- The code itself is documented (sometimes ^^). If you have questions, you can ask them via portato@necoro.net.
+ The code itself is documented (sometimes ^^). If you have questions, you can ask them via portato@necoro.net. But at least there is a condensed <a href=${"/changelog" | url}>changelog</a>.
</p>
<p>
The software itself is not documented in any way. If you like to change this, drop me a mail :). I'd be glad.
diff --git a/templates/pages/download.mako b/templates/pages/download.mako
index 4a1776f..349c0fc 100644
--- a/templates/pages/download.mako
+++ b/templates/pages/download.mako
@@ -5,3 +5,6 @@
<p>
In most cases, it should be ok to install portato via emerge. But if you want to download it by hand nevertheless, you can do it <a href="http://sourceforge.net/projects/portato/files/">via sourceforge.net</a>.
</p>
+<p>
+ A condensed changelog is available <a href=${"/changelog" | url}>here</a>.
+</p>