unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 8b2971acf885023dca514d39b543746d95b9270d 1417 bytes (raw)
name: build-aux/package-list.js 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 
// license: CC0
function show_hide(idThing)
{
  if(document.getElementById && document.createTextNode) {
    var thing = document.getElementById(idThing);
    /* Used to change the link text, depending on whether description is
       collapsed or expanded */
    var thingLink = thing.previousSibling.lastChild.firstChild;
    if (thing) {
      if (thing.style.display == "none") {
        thing.style.display = "";
        thingLink.data = 'Collapse';
      } else {
        thing.style.display = "none";
        thingLink.data = 'Expand';
      }
    }
  }
}
/* Add controllers used for collapse/expansion of package descriptions */
function prep(idThing)
{
  var tdThing = document.getElementById(idThing).parentNode;
  if (tdThing) {
    var aThing = tdThing.firstChild.appendChild(document.createElement('a'));
    aThing.setAttribute('href', 'javascript:void(0)');
    aThing.setAttribute('title', 'show/hide package description');
    aThing.appendChild(document.createTextNode('Expand'));
    aThing.onclick=function(){show_hide(idThing);};
    /* aThing.onkeypress=function(){show_hide(idThing);}; */
  }
}
/* Take n element IDs, prepare them for javascript enhanced
display and hide the IDs by default. */
function bulk_show_hide()
{
  if(document.getElementById && document.createTextNode) {
    for(var i=0; i<arguments.length; i++) {
      prep(arguments[i])
      show_hide(arguments[i]);
    }
  }
}

debug log:

solving 8b2971a ...
found 8b2971a in https://yhetil.org/guix-devel/878uzxkzgt.fsf@honeybear.home/ ||
	https://yhetil.org/guix-devel/CAKdwf2BhW0pntTN_YO-4kNcWhcXAw120U9JQnt8xDWKtepcUnw@mail.gmail.com/

applying [1/1] https://yhetil.org/guix-devel/878uzxkzgt.fsf@honeybear.home/
diff --git a/build-aux/package-list.js b/build-aux/package-list.js
new file mode 100644
index 0000000..8b2971a

Checking patch build-aux/package-list.js...
Applied patch build-aux/package-list.js cleanly.

skipping https://yhetil.org/guix-devel/CAKdwf2BhW0pntTN_YO-4kNcWhcXAw120U9JQnt8xDWKtepcUnw@mail.gmail.com/ for 8b2971a
index at:
100644 8b2971acf885023dca514d39b543746d95b9270d	build-aux/package-list.js

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).