summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contributing/web_pages/news.mdwn9
-rw-r--r--hurd/faq/top.mdwn16
-rw-r--r--hurd/glibc.mdwn2
-rw-r--r--hurd/glibc/internals.mdwn16
-rw-r--r--hurd/running/gnu/universal_package_manager.mdwn1
-rw-r--r--hurd/translator/nsmux.mdwn16
-rw-r--r--ikiwiki.setup16
-rw-r--r--news/2009-07-31.mdwn2
-rw-r--r--news/2009-09-30.mdwn2
-rw-r--r--open_issues/resource_management_problems.mdwn5
-rw-r--r--open_issues/resource_management_problems/configure_max_command_line_length.mdwn17
-rwxr-xr-xpurify_html4
-rwxr-xr-xrender_locally5
-rwxr-xr-xset_mtimes56
14 files changed, 151 insertions, 16 deletions
diff --git a/contributing/web_pages/news.mdwn b/contributing/web_pages/news.mdwn
index a7cbe7a1..f5cb4344 100644
--- a/contributing/web_pages/news.mdwn
+++ b/contributing/web_pages/news.mdwn
@@ -89,9 +89,12 @@ For practical work that means to use the following commands:
* at the end of the month: prepare for publishing the news
- Edit the news entry's *meta date* and *meta updated* time values. For
- stability, we set these two explicitly instead of relying on ikiwiki's
- method of using the files' creation and modification dates.
+ Edit the news entry's *meta date* value to the timestamp when the news
+ entry is [[published|news]]. We have to set that one manually, as
+ otherwise the timestamp of the news entry file's creation will be taken,
+ which is (much) earlier, and not what we want. We do not set the *meta
+ updated* value, as it's correct to update that one upon further
+ modifications of the news entries.
* ... and publish
diff --git a/hurd/faq/top.mdwn b/hurd/faq/top.mdwn
new file mode 100644
index 00000000..9e385c0f
--- /dev/null
+++ b/hurd/faq/top.mdwn
@@ -0,0 +1,16 @@
+[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+[[!meta title="What is a replacement for procps' top?"]]
+
+Here is a replacement to use, until the real `top` works, which depends on
+[[hurd/translator/procfs]] and some [[!taglink porting|open_issue_porting]].
+
+ $ while :; do ps -e -v -s CPU --top=22 -r; sleep 5; done
diff --git a/hurd/glibc.mdwn b/hurd/glibc.mdwn
index 454b8e34..bdfed833 100644
--- a/hurd/glibc.mdwn
+++ b/hurd/glibc.mdwn
@@ -18,4 +18,4 @@ For information about how the glibc integrates into the system, see sections
[[Debugging_glibc|debugging/glibc]].
-[[Internals.]]
+[[Internals]].
diff --git a/hurd/glibc/internals.mdwn b/hurd/glibc/internals.mdwn
index 2ced0543..897da92e 100644
--- a/hurd/glibc/internals.mdwn
+++ b/hurd/glibc/internals.mdwn
@@ -10,7 +10,7 @@ License|/fdl]]."]]"""]]
Some bits about this, some bits about that.
----
+# Controlling TTY
Hurd controlling tty behavior is generally consistent with BSD's, including
`TIOCSCTTY`. Linux also has `TIOCSCTTY` and it is harmless to use it there.
@@ -19,3 +19,17 @@ zero).
C.f. <http://lists.gnu.org/archive/html/bug-hurd/2009-10/msg00030.html> and the
following messages.
+
+# Sinals
+
+[[Unix]] signals are implemented in glibc.
+
+In every process, signals are handled in a separate signal thread.
+
+ [Why does kill hang sometimes?]
+ <youpi> kill send the signal to the process
+ <youpi> if the process is hung, killing waits
+ <youpi> signals should be just asynchronous, but apparently for some reason
+ Roland & co wanted some syunchronization
+
+[[!taglink open_issue_glibc]]
diff --git a/hurd/running/gnu/universal_package_manager.mdwn b/hurd/running/gnu/universal_package_manager.mdwn
index ecac8e21..74c1ac8b 100644
--- a/hurd/running/gnu/universal_package_manager.mdwn
+++ b/hurd/running/gnu/universal_package_manager.mdwn
@@ -153,3 +153,4 @@ To join the project just list your name below.
6. Ajish.B
7. Ambili.B
8. Abhradip Mukherjee
+ 9. Ermenegildo Fiorito
diff --git a/hurd/translator/nsmux.mdwn b/hurd/translator/nsmux.mdwn
index c07a30bd..d156772b 100644
--- a/hurd/translator/nsmux.mdwn
+++ b/hurd/translator/nsmux.mdwn
@@ -26,18 +26,22 @@ list.
## Source
-`nsmux` translator can be obtained with the following command:
+`nsmux` translator can be obtained with the following series of
+commands:
- $ git clone git://github.com/scolobb/nsmux.git
+ $ git clone git://git.sv.gnu.org/hurd/incubator.git nsmux
+ $ cd nsmux/
+ $ git checkout -b nsmux origin/nsmux
-`filter` translator can be obtained with the following command:
+`filter` translator can be obtained with the following series of
+commands:
- $ git clone git://github.com/scolobb/filter.git
+ $ git clone git://git.sv.gnu.org/hurd/incubator.git filter
+ $ cd filter/
+ $ git checkout -b filter origin/filter
The filter is not yet working.
-It is highly probable that soon the code will be moved to Savannah.
-
## Namespace-based Translator Selection
Namespace-based translator selection is the special technique of using
diff --git a/ikiwiki.setup b/ikiwiki.setup
index aee01480..7a5078f3 100644
--- a/ikiwiki.setup
+++ b/ikiwiki.setup
@@ -73,6 +73,8 @@ IkiWiki::Setup::Standard->import({
indexpages => 0,
# enable Discussion pages?
discussion => 1,
+ # name of Discussion pages
+ discussionpage => 'Discussion',
# only send cookies over SSL connections?
sslcookie => 0,
# extension to use for new pages
@@ -188,6 +190,14 @@ IkiWiki::Setup::Standard->import({
# darcsweb url to show a diff ([[hash]] and [[file]] substituted)
#diffurl => 'http://darcs.example.com/darcsweb.cgi?r=wiki;a=filediff;h=[[hash]];f=[[file]]',
+ # getsource plugin
+ # Mime type for returned source.
+ #getsource_mimetype => 'text/plain; charset=utf-8',
+
+ # highlight plugin
+ # types of source files to syntax highlight
+ #tohighlight => '.c .h .cpp .pl .py Makefile:make',
+
# htmlscrubber plugin
# PageSpec specifying pages not to scrub
#htmlscrubber_skip => '!*/Discussion',
@@ -258,6 +268,10 @@ IkiWiki::Setup::Standard->import({
# URIs of repositories containing the wiki's source
#repositories => [qw{svn://svn.example.org/wiki/trunk}],
+ # rsync plugin
+ # command to run to sync updated pages
+ #rsync_command => 'rsync -qa --delete . user@host:/path/to/docroot/',
+
# search plugin
# path to the omega cgi program
#omega_cgi => '/usr/lib/cgi-bin/omega/omega',
@@ -307,6 +321,8 @@ IkiWiki::Setup::Standard->import({
# underlay plugin
# extra underlay directories to add
#add_underlays => '',
+ # extra template directories to add
+ #add_templates => '',
# websetup plugin
# list of plugins that cannot be enabled/disabled via the web interface
diff --git a/news/2009-07-31.mdwn b/news/2009-07-31.mdwn
index 11f1e3d6..21f09ae2 100644
--- a/news/2009-07-31.mdwn
+++ b/news/2009-07-31.mdwn
@@ -10,8 +10,6 @@ License|/fdl]]."]]"""]]
[[!meta date="2009-08-03 08:00 UTC"]]
-[[!meta updated="2009-08-03 08:00 UTC"]]
-
A month of the Hurd: *hurd Debian package*, *union mount translator*, *bug
fixes*, and a *job opening*.
[[!if test="included()" then="""[[!toggle id=full_news
diff --git a/news/2009-09-30.mdwn b/news/2009-09-30.mdwn
index 5deeb7f5..38f09bfa 100644
--- a/news/2009-09-30.mdwn
+++ b/news/2009-09-30.mdwn
@@ -10,8 +10,6 @@ License|/fdl]]."]]"""]]
[[!meta date="2009-10-01 11:52 UTC"]]
-[[!meta updated="2009-10-01 11:52 UTC"]]
-
A month of the Hurd: *Successful Google Summer of Code project: unionmount*.
[[!if test="included()" then="""[[!toggle id=full_news
text="Details."]][[!toggleable id=full_news text="[[!paste id=full_news]]"]]"""
diff --git a/open_issues/resource_management_problems.mdwn b/open_issues/resource_management_problems.mdwn
index 57c6bdbf..ab233dbb 100644
--- a/open_issues/resource_management_problems.mdwn
+++ b/open_issues/resource_management_problems.mdwn
@@ -19,3 +19,8 @@ discardable, for example.
These issues are what Neal Walfield is working on with his new kernel
[[microkernel/viengoos]].
+
+
+# Examples
+
+ * [[configure max command line length]]
diff --git a/open_issues/resource_management_problems/configure_max_command_line_length.mdwn b/open_issues/resource_management_problems/configure_max_command_line_length.mdwn
new file mode 100644
index 00000000..6c0a0d99
--- /dev/null
+++ b/open_issues/resource_management_problems/configure_max_command_line_length.mdwn
@@ -0,0 +1,17 @@
+[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+[[!tag open_issue_porting]]
+
+ <terpstra> do the buildds also crash?
+ <youpi> sometimes
+ <youpi> usually when a configure scripts tries to find out how large a
+ command line can be
+ <youpi> (thus eating all memory)
diff --git a/purify_html b/purify_html
index a9ead881..4cf582af 100755
--- a/purify_html
+++ b/purify_html
@@ -1,5 +1,9 @@
#!/bin/sh
+# Mangle the rendered files to cause fewer differernces upon re-rendering.
+
+# Written by Thomas Schwinge <tschwinge@gnu.org>.
+
# Un-mangle mailto links: convert HTML character entities to real characters.
find ./ -name \*.html -print0 \
| xargs -0 \
diff --git a/render_locally b/render_locally
index ba0dd9d8..f4a249a8 100755
--- a/render_locally
+++ b/render_locally
@@ -2,12 +2,15 @@
# Render the pages of this repository.
-# Written by Thomas Schwinge <tschwinge@gnu.org>
+# Written by Thomas Schwinge <tschwinge@gnu.org>.
# See `contributing/web_pages' for further information.
export ROOT && ROOT=$(readlink -f "$(dirname "$0")") &&
+# Don't translate.
+export LC_MESSAGES && LC_MESSAGES=C &&
+
case $1 in
--official)
# Use this for rendering the set of pages which are to be installed under
diff --git a/set_mtimes b/set_mtimes
new file mode 100755
index 00000000..7157e7f5
--- /dev/null
+++ b/set_mtimes
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+# Set the checked-out files' mtimes according to their last Git revision.
+
+# Written by Thomas Schwinge <tschwinge@gnu.org>
+
+trap '
+ if [ x"$tmp_dir" = x ]; then :; else
+ rm -rf -- "$tmp_dir"
+ fi
+' EXIT &&
+
+# TODO: handle arguments meaning to only process a subset (directories / files)
+# of the repository.
+if [ x"$#" = x0 ]; then :; else
+ echo >&2 No command line arguments expected.
+ exit 1
+fi &&
+
+tmp_dir=$(mktemp -d) &&
+
+tmp_ignore=$tmp_dir/ignore &&
+# TODO: have to add more flags?
+git ls-files \
+ > "$tmp_ignore" \
+ -d -m &&
+while read file; do
+ echo >&2 "*** WARNING: file <$file> locally changed or deleted, not touching"
+done < "$tmp_ignore" &&
+
+tmp_known=$tmp_dir/known &&
+git ls-files \
+ > "$tmp_known" \
+ -c &&
+
+tmp_consider=$tmp_dir/consider &&
+grep \
+ < "$tmp_known" \
+ > "$tmp_consider" \
+ -f "$tmp_ignore" -x -v &&
+
+while read file; do
+ # TODO: use %ci? TODO: can we optimize this to not have to invoke git log
+ # individually for every single file?
+ date_git=$(git log -1 --pretty=format:%ai -- "$file") &&
+ date_git=$(date --rfc-3339=ns -d "$date_git") &&
+ date_file=$(date --rfc-3339=ns -r "$file") &&
+ if [ x"$date_git" = x"$date_file" ]; then :; else
+ echo >&2 "*** INFO: file $file: mtime <$date_file> -> <$date_git>"
+ touch -m -d "$date_git" "$file"
+ fi \
+ || {
+ echo >&2 "*** ERROR: file <$file>, date_git <$date_git>, date_file <$date_file>"
+ exit 1
+ }
+done < "$tmp_consider"