Category: Uncategorized
-
Jenkins with a troubled thinBackup configuration causes weird message: “Jenkins is going to shut down”
Jenkins’s “quiet mode” is the state that cause Jenkins to display “Jenkins is going to shut down” in a yelling red bar on top of the page.
Q:What is Jenkins’s “quiet mode”?
A: It’s about quieting down Jenkins (in preparation for a restart) – no new build job will get accepted in this mode. This mode will get cleared, once Jenkins will have started anew. -
scheduled Atlassian Confluence exports?
I (as a user) would really like to have scheduled exports from Atlassian Confluence.
-
cntlm – a local proxy, that all your (local) applications can go through w/o explicit authentication
- http://sourceforge.net/projects/cntlm/
- http://cntlm.sourceforge.net
- https://en.wikipedia.org/wiki/NT_LAN_Manager – mentions cntlm
“Somebody” certainly does the necessary authentication and that’s cntlm.
The advantages:
- all those applications’ configurations look really, really minimal
- authentication details that change “frequently” live at “only one” place
cntlm gets provided to you as
- sources
- -win32.zip, -setup.exe
- .rpm, .deb
- …
-
Microsoft Outlook as feed reader — if the feed needs any authentication, use IE for that — that’s because Outlook and IE share their cookie store
E.g. Jenkins (the automation server) provides RSS feeds describing job build histories. Perfect means to survey build results, and an approach that comes with Jenkins out of the box, one that does not create and send e-mail messages — a rather stupid overhead.
I got the idea of using Outlook for feed reading, when I came across a recipe in the Jenkins literature describing how to read Jenkins feeds using Firefox. Just recently before I had noticed Outlook’s ability to read RSS feeds. “1 + 1 = 2”. In the corporate environment I worked in then it sounded rather natural to recommend Outlook to read those Jenkins build history feeds.
In one of my early cases Outlook / Exchange refused to load a specific Jenkins feed – but it accepted another one. What was wrong with one but not the other? I first suspected the Exchange server would not see the Jenkins server (“no network route”), which would result in a rather unspecific error message. I created a trouble ticket with the Exchange admin staff. They suggested I should connect to the server and I would get prompted for credentials. I did that before, I thought, but how would Outlook be able to prompt me for RSS feed credentials? I would need a browser for that. Alright, tried my favourite browser and there was a login form. But browsers do not share their cookie store with Outlook, right? All of them? Really? IE does, IE and Outlook share their cookie stores. Tried IE, and from then on Outlook was able to make use of the RSS feed URL in trouble (earlier). Lesson learned. And of course: I described my findings here.
-
another little software development project: create an Emacs style diary from the Atom feed of my blog(s)
The XML looks like this:
- each article on the blog is an “
<item>…</item>” on the list of the Atom feed - each “
<item>…” has - a “
<title>…“ - a “
<link>…“ - and a “
<pubDate>…“
That’s all I need. Well … – WordPress truncates the blog article list shown in the Atom feed, and sometimes (at least) I want to get a longer version of this list. IIRC there are ways to instruct an Atom feed URL to return a longer list.
- The link needs a little rewriting, so that it looks like the URL shown above.
- The pubDate also needs (very little) rewriting.
- The order of the items is reverse chronological, i.e. youngest first – in my diary I want it the other way round.
Q: Why do I need this little converter at all?
A: In order to document my work in my diary (of course). I am documenting my life in my diary.Update: Actually I want a “stream” describing all my activities on whatever sites:
- creating an article
- updating an article
- removing an article
- …
I am going to start another article describing the more general approach and listing the sites concerned. I assume Atom feeds are not powerful enough to describe what I need.
- each article on the blog is an “
-
“awestruct” – a static site baking and deployment tool – used by jenkins-ci.org
- http://awestruct.org
- http://asciidoctor.org
- https://jenkins-ci.org/blog/2016/01/05/new-website
- https://github.com/jenkins-infra/jenkins.io – this repository is what powers the Jenkins website: “This uses awestruct with Asciidoctor under the hood to provide a very useful and compelling web presence for the Jenkins automation server.”
The new jenkins-ci.org website is based on awestruct. awestruct is written in Ruby. The jenkins-ci.org website is run by Python.
-
“Emacs For Mac OS X” – they fixed an ugly error with a notification area
- http://emacsformacosx.com
- http://emacsformacosx.com/atom/daily
- http://emacsformacosx.com/emacs-builds/Emacs-2016-01-08_01-41-42-4580671-universal.dmg
Starting with the December version Emacs left an ugly blank rectangle as a left over of notifications, now it shows an exclamation mark in a yellow triangle, and there is no left over.