<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Blog-O! (Posts about windows)</title><link>https://bwinton.github.io/weblog.latte.ca/</link><description></description><atom:link rel="self" href="https://bwinton.github.io/weblog.latte.ca/tags/windows.xml" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Sat, 13 Apr 2019 21:03:16 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>A few weeks in…</title><link>https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/monthone/</link><dc:creator>Blake Winton</dc:creator><description>&lt;div&gt;&lt;p&gt;So, itʼs been a couple of weeks, and thought I might write a few notes on how itʼs been going…&lt;/p&gt;
&lt;p&gt;&lt;img alt="Laptop, now all stickered up…" src="https://bwinton.github.io/weblog.latte.ca/images/blake/Stickers.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/monthone/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>moving</category><category>update</category><category>windows</category><guid>https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/monthone/</guid><pubDate>Mon, 19 Dec 2016 00:07:00 GMT</pubDate></item><item><title>It’s here!</title><link>https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/weekone/</link><dc:creator>Blake Winton</dc:creator><description>&lt;div&gt;&lt;p&gt;It arrived!&lt;/p&gt;
&lt;p&gt;&lt;img alt="Dude.  I got a Dell.  Not as much dragon, though…" src="https://bwinton.github.io/weblog.latte.ca/images/blake/MyDell.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/weekone/"&gt;Read more…&lt;/a&gt; (4 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>arrival</category><category>moving</category><category>windows</category><guid>https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/weekone/</guid><pubDate>Mon, 28 Nov 2016 18:41:00 GMT</pubDate></item><item><title>Welp, I did it.</title><link>https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/welp/</link><dc:creator>Blake Winton</dc:creator><description>&lt;div&gt;&lt;p&gt;As I mentioned in a &lt;a href="https://bwinton.github.io/weblog.latte.ca/blake/tech/mac/disappointment.html" title="My problems with the new MacBooks"&gt;previous post&lt;/a&gt;, I wasn’t really excited by the new MacBooks that were announced this year.  And the more I read the less compelling they seemed…  As I talked with my co-workers, I heard some really good reviews of a couple of models of Windows computers, and since 90% of Firefox’s users are using Windows it’s probably not such a bad idea if I use it, too, both to help me understand the problems they’re running into, and to make sure that the code I’m writing will work for them.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/welp/"&gt;Read more…&lt;/a&gt; (4 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>expectation</category><category>moving</category><category>windows</category><guid>https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/welp/</guid><pubDate>Thu, 17 Nov 2016 15:21:00 GMT</pubDate></item><item><title>Moving to Windows…</title><link>https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/summary/</link><dc:creator>Blake Winton</dc:creator><description>&lt;div&gt;&lt;p&gt;Iʼm writing a series about switching to Windows, and thought it would be nice
to have a summary post, with links to all the other ones.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/summary/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>moving</category><category>summary</category><category>windows</category><guid>https://bwinton.github.io/weblog.latte.ca/blake/tech/windows/summary/</guid><pubDate>Wed, 09 Nov 2016 15:21:00 GMT</pubDate></item><item><title>Like a Thesis Defence &lt;small&gt;(or so I imagine)&lt;/small&gt;</title><link>https://bwinton.github.io/weblog.latte.ca/blake/tech/bzr/thesis/</link><dc:creator>Blake Winton</dc:creator><description>&lt;p&gt;I’ve recently started using &lt;a href="http://bazaar-vcs.org/"&gt;bzr&lt;/a&gt; as my go-to version control
system, and as a newbie I’ve &lt;a href="http://weblog.latte.ca/blake/tech/bzr/BazaarNotes1.html"&gt;run
into a couple of small things&lt;/a&gt; I’ld like changed.  Fortunately, bzr
is written in &lt;a href="http://www.python.org/"&gt;Python&lt;/a&gt;, and comes
with an extensive set of unit tests, so it was easy for me to jump
right in and add the feature I wanted.  To be honest, I started off by
writing it up as &lt;a href="https://bugs.launchpad.net/bzr/+bug/129299"&gt;a bug report&lt;/a&gt;,
with a trivial patch (by which I mean one without any tests).  The
comments on the bug led me to write up an actual mergable set of
changes (which seems to be called a bundle by the bzr folks), and
submit it for review.  What followed was a few &lt;a href="http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/29306/focus=29306"&gt;back-and-forths&lt;/a&gt; where various people pointed out things I hadn’t
done correctly, or hadn’t really understood, and I fixed them.  As a
result, I think the code in &lt;a href="http://bundlebuggy.aaronbentley.com/request/%3C46C303B4.60109%40latte.ca%3E"&gt;the most recent bundle&lt;/a&gt; is pretty good, and is certainly far
better than anything I would have produced on my own.&lt;/p&gt;</description><category>bazaar-ng</category><category>bzr</category><category>patch</category><category>path</category><category>submit</category><category>windows</category><guid>https://bwinton.github.io/weblog.latte.ca/blake/tech/bzr/thesis/</guid><pubDate>Wed, 15 Aug 2007 14:14:12 GMT</pubDate></item><item><title>Some notes on Bazaar</title><link>https://bwinton.github.io/weblog.latte.ca/blake/tech/bzr/bazaarnotes1/</link><dc:creator>Blake Winton</dc:creator><description>&lt;p&gt;This started off as a reply to some email on the Bazaar-NG list,
but it sort of grew and grew, until there were a whole bunch of things
in it, and I thought it would probably be better as a weblog entry, so
that I could find it later.&lt;/p&gt;

&lt;p&gt;On to the email...&lt;br&gt;
Martin Pool wrote:&lt;br&gt;
&amp;gt; If you have sftp access to your server, then just do&lt;br&gt;
&amp;gt;   bzr init-repo sftp://user@host/~/myproject&lt;br&gt;
&amp;gt;   bzr push sftp://user@host/~/myproject/mybranch&lt;br&gt;
&amp;gt; then on the second machine (eg at work)&lt;br&gt;
&amp;gt;   bzr init-repo ~/myproject&lt;br&gt;
&amp;gt;   cd myproject&lt;br&gt;
&amp;gt;   bzr branch sftp://user@host/~/myproject/mybranch&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;As a related question, if I wanted other people to be able to download
my branch over http, would it suffice to do something on the server
like&lt;br&gt;
&lt;br&gt;
bzr init-repo ~/www/myproject&lt;br&gt;
cd ~/www/myproject&lt;br&gt;
bzr branch sftp://user@host/~/myproject/mybranch&lt;br&gt;
&lt;br&gt;
or would I need to push straight to ~/www/myproject/mybranch?
&lt;/p&gt;

&lt;p&gt;I'm of two minds here, and I'ld like to explain why, in case it's a
common problem.  On the one hand, the repo I created by following the
steps in the first part of Martin's message&lt;br&gt;
&amp;gt;   bzr init-repo sftp://user@host/~/myproject&lt;br&gt;
&amp;gt;   bzr push sftp://user@host/~/myproject/mybranch&lt;br&gt;
should be just the same as any other repository, right?&lt;br&gt;
&lt;br&gt;
But, on the other hand, when I ssh to "user@host", and look in
~/myproject, all I see is a .bzr directory.  None of the files I
allegedly pushed.
&lt;/p&gt;

&lt;p&gt;A search for 'bzr push "no content"' and 'bzr push missing files'
turns up nothing that makes much sense to me.  running 'bzr help push'
finally shows me the following lines:&lt;br&gt;
&amp;gt; The target branch will not have its working tree populated
because&lt;br&gt;
&amp;gt; this is both expensive, and is not supported on remote file
systems.&lt;br&gt;
which explains it at least a little.  So I started looking for a way
to push and update, which quickly led me to the push-and-update
plugin, but I'm now lost as to how to install it into my copy of bzr
(the binary distribution, running under Windows XP.)  The plugins
document that ships with bzr says "typically found in
/usr/lib/python2.4/site-packages/bzrlib/plugins/", but I'm really
fairly sure that's not where it's located on &lt;i&gt;my&lt;/i&gt; box...  &lt;a href="http://dpi.radiology.uiowa.edu/mifar/doc/bazaar-setup.php"&gt;another
page&lt;/a&gt; says that it is "usually [...]
C:\python2.4\site-packages\bzrlib\plugins under Windows", but again,
that directory doesn't exist where I am.
&lt;/p&gt;

&lt;p&gt;Since I expect it'll make a difference to any answer I get, let me
just say upfront that I've installed Bazaar (bzr) 0.18.0 into
C:\Program Files\Bazaar\ using the Windows standalone installer.  The
output of "bzr version" is:&lt;br&gt;
"""&lt;br&gt;
Bazaar (bzr) 0.18.0&lt;br&gt;
Using Python interpreter: C:\Program Files\Bazaar\bzr.exe&lt;br&gt;
Using Python standard library: C:\Program
Files\Bazaar\lib\library.zip&lt;br&gt;
Using bzrlib: C:\Program Files\Bazaar\lib\library.zip\bzrlib&lt;br&gt;
Using Bazaar configuration: C:/Documents and
Settings/blake/Application Data/bazaar/2.0&lt;br&gt;
Using Bazaar log file: C:\Documents and Settings\blake\My
Documents\.bzr.log&lt;br&gt;
&lt;br&gt;
Copyright 2005, 2006, 2007 Canonical Ltd.&lt;br&gt;
http://bazaar-vcs.org/&lt;br&gt;
&lt;br&gt;
bzr comes with ABSOLUTELY NO WARRANTY.  bzr is free software, and you
may use, modify and redistribute it under the terms of the GNU General
Public License version 2 or later.&lt;br&gt;
"""&lt;br&gt;
&lt;br&gt;
So, where should I put the plugins in this case?&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;The answer, as given on irc, seems to be "put it somewhere else and
set the BZR_PLUGIN_PATH env variable".  Works for me, although it
would have been nice if the Windows standalone installer did that for
me, by creating a Plugins directory under the install directory.  And
as one final note, the BZR_PLUGIN_PATH, which it may contain spaces
(i.e. "C:\Program Files\Bazaar\Plugins"), must not end in a trailing
"\".&lt;/p&gt;</description><category>bazaar-ng</category><category>bzr</category><category>http</category><category>notes</category><category>plugins</category><category>push</category><category>sftp</category><category>windows</category><guid>https://bwinton.github.io/weblog.latte.ca/blake/tech/bzr/bazaarnotes1/</guid><pubDate>Mon, 30 Jul 2007 19:06:13 GMT</pubDate></item></channel></rss>