[volunteers] Fwd: [web-team] Linode Support Ticket 5649987 - Critical Xen Maintenance / Reboot Schedule
Rick Moen
rick at linuxmafia.com
Mon May 2 00:00:52 PDT 2016
I wrote:
> I believe this takes us right back to the beginning. So: If you wish
> to check in svn contents into the repo, please see
> site-docs/svn-instructions.
Litte-Datamaskin:~ rick$ ssh www.svlug.org
Password:
[...]
rick at gruyere:~$ cd www
So, what's been logged into svn lately, and when was it last
pretty much up to date?
rick at gruyere:~$ svn log | less
-----------------------------------------------------------------------
r340 | danielg4 | 2016-05-01 18:57:41 -0700 (Sun, 01 May 2016) | 2 lines
Test check-in
------------------------------------------------------------------------
r339 | danielg4 | 2016-05-01 18:49:11 -0700 (Sun, 01 May 2016) | 2 lines
Test check-in removing an empty file
------------------------------------------------------------------------
r338 | root | 2016-04-30 15:25:23 -0700 (Sat, 30 Apr 2016) | 2 lines
Checking in all edits to meetings.txt after Oct 2, 2014
------------------------------------------------------------------------
r337 | root | 2016-04-19 01:11:15 -0700 (Tue, 19 Apr 2016) | 2 lines
Fixed broken image link.
------------------------------------------------------------------------
r336 | root | 2015-10-14 21:39:52 -0700 (Wed, 14 Oct 2015) | 1 line
Replace prgmr.com SVG with PNG.
------------------------------------------------------------------------
r335 | root | 2015-10-07 22:54:46 -0700 (Wed, 07 Oct 2015) | 1 line
Add new sponsor (prgmr.com), and support SVG.
------------------------------------------------------------------------
r334 | root | 2014-10-02 20:41:15 -0700 (Thu, 02 Oct 2014) | 1 line
Checking in after the October, 2014 meeting.
[...]
rick at gruyere:~/www$
Therefore, I probably need to worry about untracked files only
after 2014-10-02, which is 578 days ago.
For no good reason, I checked on the status of meetings.txt.
rick at gruyere:~/www$ svn status meetings.txt
M meetings.txt
rick at gruyere:~/www$ svn diff meetings.txt
Index: meetings.txt
===================================================================
--- meetings.txt (revision 340)
+++ meetings.txt (working copy)
@@ -45,7 +45,7 @@
<td><font face="arial,helvetica">May 4<sup><font size="-1">th</font></sup>,
2016</font></td>
<td><font face="arial,helvetica"><a href="directions/symantec.php">Symantec</a>, Mountain View</font></td>
- <td><font face="arial,helvetica"><strong>Jesse Monroy</strong><br>
+ <td><font face="arial,helvetica"><strong>TBA</strong><br>
</font>
</td>
</tr>
@@ -53,27 +53,8 @@
<tr>
<td colspan="3">
<font face="arial,helvetica">
- <strong>Topic:</strong> Your Prototype in a Day. Your IoT Business in a Month
+ <strong>Topic:</strong> TBA
<br><br>
- Got a Raspberry Pi, Arduino Yun, or similar?
- Want to start your own IoT (Internet of Things) business?
- Do you know how to program with HTML, Javascript, and C?
- Don't have a ton of cash? If you are willing to put in endless
- hours of work, and dream nightly about living under a bridge,
- then this talk is for you.
- <br><br>
- What will be seen:<br>
- What is IoT?<br>
- What about wearable?<br>
- What does mine look like?<br>
- What are sensors?<br>
- What is the CPU?<br>
- How does it connect to the Internet?<br>
- Demo: Stream video to Youtube<br>
- Review of hardware needed<br>
- Review of software needed<br>
- Build a prototype<br>
- What about manufacturing?
</font>
</td>
</tr>
@@ -82,8 +63,7 @@
<td colspan="3">
<font face="arial,helvetica">
<strong>MORE ABOUT THE SPEAKER:</strong>
- Jesse Monroy was founding president of Silicon Valley BSD User Group,
- and is currently working in many aspects of Linux.
+ TBA
</font>
</td>
</tr>
rick at gruyere:~/www$ sudo svn ci -m "Change May 2016 meeting to TBA, for now" meetings.txt
[sudo] password for rick:
Sending meetings.txt
Transmitting file data .
Committed revision 342.
rick at gruyere:~/www$
(Late note: I just saw in site-docs/ChangeLog that you've fixed repo ownership so
checkin no longer requires sudo. Thanks! But I didn't know that when I did
the foregoing, or other checkin ggcommands in this command history.)
Let's see what files in the www tree as a whole are newer than 578 days ago.
Reminder, this is going to include (large) binary presentation files, which
we probably don't want to track in version control.
Check to see what files are tracked but have been modified and not checked in.
rick at gruyere:~/www$ svn status | grep ^M
M events.html
M membership.php
M svlug-news.txt
M meetfunc.php
M news.php
M policies/list-policy.php
M teams/web-team.php
M farm.php
M prev/2005nov/index.php
M directions/cisco-j.php
rick at gruyere:~/www$
Check them in.
rick at gruyere:~/www$ sudo svn ci -m "Catch up on checkins of tracked files" events.html membership.php svlug-news.txt meetfunc.php news.php policies/list-policy.php teams/web-team.php farm.php prev/2005nov/index.php directions/cisco-j.php
Sending directions/cisco-j.php
Sending events.html
Sending farm.php
Sending meetfunc.php
Sending membership.php
Sending news.php
Sending policies/list-policy.php
Sending prev/2005nov/index.php
Sending svlug-news.txt
Sending teams/web-team.php
Transmitting file data ..........
Committed revision 343.
rick at gruyere:~/www$
What files in the Web tree are untracked?
rick at gruyere:~/www$ svn status | grep ^A
A prev/2011oct
A prev/2011oct/SVLUG_IVI_Oct2011.pdf
A prev/2011oct/SVLUG_IVI_Oct2011.odp
A prev/2012dec
A prev/2012dec/svlug-lecture-2012-12-05.pdf
A prev/2012dec/svlug-lecture-2012-12-05.txt
A prev/2012dec/svlug-lecture-2012-12-05.odp
A stv
A stv/restaurant-200407.votedef
A stv/restaurant.php
A stv/restaurant-200408.votedef
A stv/prez2001.votes
A stv/restaurant.votedef
A stv/svlug-pres-term-2004-results.php
A stv/svlug-pres-term-2004.votes
A stv/restaurant-200407.desc
A stv/prez2001a.desc-tmp
A stv/prez2001.desc
A stv/svlug-pres-term-2004-alt-results.php
A stv/restaurant.desc
A stv/restaurant-200407-results.php
A stv/restaurant-200408-results.php
A stv/prez2001.php
A stv/svlug-pres-term-2004-alt.votes
A stv/svlug-pres-term-2004.desc
A stv/restaurant-results.php
A stv/prez2001.votedef
A stv/restaurant-200407.votes
A stv/restaurant-200408.votes
A stv/svlug-pres-term-2004.php
A stv/restaurant.votes
A stv/svlug-pres-term-2004.votedef
A stv/svlug-pres-term-2004-alt.desc
A stv/prez2001b.desc-tmp
A stv/restaurant-200408.desc
A stv/svlug-pres-term-2004-alt.php
A stv/svlug-pres-term-2004-alt.votedef
A stv/prez2001-results.php
A stv/restaurant-200407.php
A stv/restaurant-200408.php
A stv/Xrestaurant-200408.votes
rick at gruyere:~/www$
Ah, that makes sense. A couple of years ago, for historical reasons, I cleaned
up the public records of SVLUG's past Internet elections and polls. OK, let's check
those in. The files under 'prev' are speaker presentations, and I don't think those
should be in version control.
rick at gruyere:~/www$ sudo svn ci -m 'Check in stv directory files' stv/restaurant-200407.votedef stv/restaurant.php stv/restaurant-200408.votedef stv/prez2001.votes stv/restaurant.votedef stv/svlug-pres-term-2004-results.php stv/svlug-pres-term-2004.votes stv/restaurant-200407.desc stv/prez2001a.desc-tmp stv/prez2001.desc stv/restaurant-200407-results.php stv/restaurant-200408-results.php stv/prez2001.php stv/svlug-pres-term-2004-alt.votes stv/svlug-pres-term-2004.desc stv/restaurant-results.php
stv/prez2001.votedef stv/restaurant-200407.votes stv/restaurant-200408.votes stv/svlug-pres-term-2004.php stv/restaurant.votes stv/svlug-pres-term-2004.votedef stv/svlug-pres-term-2004-alt.desc stv/prez2001b.desc-tmp stv/restaurant-200408.desc stv/svlug-pres-term-2004-alt.php stv/svlug-pres-term-2004-alt.votedef stv/prez2001-results.php stv/restaurant-200407.php stv/restaurant-200408.php stv/Xrestaurant-200408.votes stv
Adding stv
Adding stv/Xrestaurant-200408.votes
Adding stv/prez2001-results.php
Adding stv/prez2001.desc
Adding stv/prez2001.php
Adding stv/prez2001.votedef
Adding stv/prez2001.votes
Adding stv/prez2001a.desc-tmp
Adding stv/prez2001b.desc-tmp
Adding stv/restaurant-200407-results.php
Adding stv/restaurant-200407.desc
Adding stv/restaurant-200407.php
Adding stv/restaurant-200407.votedef
Adding stv/restaurant-200407.votes
Adding stv/restaurant-200408-results.php
Adding stv/restaurant-200408.desc
Adding stv/restaurant-200408.php
Adding stv/restaurant-200408.votedef
Adding stv/restaurant-200408.votes
Adding stv/restaurant-results.php
Adding stv/restaurant.desc
Adding stv/restaurant.php
Adding stv/restaurant.votedef
Adding stv/restaurant.votes
Adding stv/svlug-pres-term-2004-alt-results.php
Adding stv/svlug-pres-term-2004-alt.desc
Adding stv/svlug-pres-term-2004-alt.php
Adding stv/svlug-pres-term-2004-alt.votedef
Adding stv/svlug-pres-term-2004-alt.votes
Adding stv/svlug-pres-term-2004-results.php
Adding stv/svlug-pres-term-2004.desc
Adding stv/svlug-pres-term-2004.php
Adding stv/svlug-pres-term-2004.votedef
Adding stv/svlug-pres-term-2004.votes
Transmitting file data .................................
Committed revision 344.
rick at gruyere:~/www$
What's left? There are doubtless some untracked files, and we need
to add the ones that we care about.
rick at gruyere:~/www$ svn status | grep -v prev/
? svlug-OS-panel.pdf
? svlug-news-short.html
? svlug-news-long.html
? events/refund/jpb/inc
? images/maps/symantec.gif
? images/maps/symantec-overhead.png
? images/sponsor_imgs/old/valuehost.png
? images/sponsor_imgs/old/valuehost.lnk
? policies/index.php
? directions/symantec.php
rick at gruyere:~/www$
Sonofabitch. Someone ignored our practices and put a meeting-specific
PDF file (from the May 2nd, 2012 meeting) in the main top-level directory.
Grr. Well, goddamn it, now we have to find out what if anyting links to
it so that links won't break after I move it to its correct location under prev.
rick at gruyere:~/www$ find . -type f -exec grep svlug-OS-panel.pdf '{}' \; -print
Occupy Linux! Flyer for our May, 2012 event (<a href="http://www.svlug.org/prev/2012may/svlug-OS-panel.pdf">340 KB PDF</a>). Panel discussion about our UNIX and UNIX-like distributions
./.svn/text-base/svlug-news.txt.svn-base
Check out our <strong> flyer </strong> (<a href="http://www.svlug.org/prev/2012may/svlug-OS-panel.pdf">340 KB PDF</a>).
./.svn/text-base/meetings.txt.svn-base
grep: ./prev/2007nov/VirtualNetworks_SVLUG_Nov7_07.ppt: Permission denied
grep: ./prev/2015nov/stacki-svlug.pdf: Permission denied
grep: ./prev/2016apr/vboxpresentation.pdf: Permission denied
Occupy Linux! Flyer for our May, 2012 event (<a href="http://www.svlug.org/prev/2012may/svlug-OS-panel.pdf">340 KB PDF</a>). Panel discussion about our UNIX and UNIX-like distributions
./svlug-news.txt
Occupy Linux! Flyer for our May, 2012 event (<a href="http://www.svlug.org/prev/2012may/svlug-OS-panel.pdf">340 KB PDF</a>). Panel discussion about our UNIX and UNIX-like distributions
./svlug-news-short.html
Occupy Linux! Flyer for our May, 2012 event (<a href="http://www.svlug.org/prev/2012may/svlug-OS-panel.pdf">340 KB PDF</a>). Panel discussion about our UNIX and UNIX-like distributions
./svlug-news-long.html
Check out our <strong> flyer </strong> (<a href="http://www.svlug.org/prev/2012may/svlug-OS-panel.pdf">340 KB PDF</a>).
./meetings.txt
rick at gruyere:~/www$
So, it basically turns out that someone _did_ put svlug-OS-panel.pdf into the correct
prev/svlug-OS-panel.pdf and hyperlinked to it there, but _also_ left a spurious
copy behind in the top-level directory. Fine, we can fix that.
rick at gruyere:~/www$ rm svlug-OS-panel.pdf
rick at gruyere:~/www$
svlug-news-short.html and svlug-news-long.html are generated by PHP from
svlug-news.txt, so they don't need to be checked in.
The image files I'll check in because they're small, so what the heck. events/refund/jpb/inc
(part of the PHP conversion), policies/index.php, and directions/symantec.php need to
be added.
rick at gruyere:~/www$ svn add events/refund/jpb/inc images/maps/symantec.gif images/maps/symantec-overhead.png images/sponsor_imgs/old/valuehost.png images/sponsor_imgs/old/valuehost.lnk policies/index.php directions/symantec.php
A events/refund/jpb/inc
A images/maps/symantec.gif
A (bin) images/maps/symantec-overhead.png
A (bin) images/sponsor_imgs/old/valuehost.png
A images/sponsor_imgs/old/valuehost.lnk
A policies/index.php
A directions/symantec.php
rick at gruyere:~/www$ sudo svn ci -m 'Check in previously untracked files' events/refund/jpb/inc images/maps/symantec.gif images/maps/symantec-overhead.png images/sponsor_imgs/old/valuehost.png images/sponsor_imgs/old/valuehost.lnk policies/index.php directions/symantec.php
[sudo] password for rick:
Adding directions/symantec.php
Adding events/refund/jpb/inc
Adding (bin) images/maps/symantec-overhead.png
Adding images/maps/symantec.gif
Adding images/sponsor_imgs/old/valuehost.lnk
Adding (bin) images/sponsor_imgs/old/valuehost.png
Adding policies/index.php
Transmitting file data .......
Committed revision 345.
rick at gruyere:~/www$
Looking for junk files to delete:
rick at gruyere:~/www$ find . -type f -name '*~' -print
./prev/2005nov/index.php~
./prev/1998apr/index.php~
./prev/2012dec/svlug-lecture-2012-12-05.txt~
./stv/svlug-pres-term-2004-results.php~
./stv/svlug-pres-term-2004.php~
./stv/svlug-pres-term-2004-alt.php~
./stv/prez2001.php~
./stv/restaurant-200407.php~
./stv/restaurant-200408.php~
./stv/restaurant-200407-results.php~
./stv/restaurant-200408-results.php~
./stv/restaurant.php~
./stv/svlug-pres-term-2004-alt-results.php~
rick at gruyere:~/www$ find . -type f -name '*~' -print -exec rm '{}' \;
./prev/2005nov/index.php~
./prev/1998apr/index.php~
./prev/2012dec/svlug-lecture-2012-12-05.txt~
./stv/svlug-pres-term-2004-results.php~
./stv/svlug-pres-term-2004.php~
./stv/svlug-pres-term-2004-alt.php~
./stv/prez2001.php~
./stv/restaurant-200407.php~
./stv/restaurant-200408.php~
./stv/restaurant-200407-results.php~
./stv/restaurant-200408-results.php~
./stv/restaurant.php~
./stv/svlug-pres-term-2004-alt-results.php~
rick at gruyere:~/www$
Investigating & correcting these weird read-permission errors from above:
grep: ./prev/2007nov/VirtualNetworks_SVLUG_Nov7_07.ppt: Permission denied
grep: ./prev/2015nov/stacki-svlug.pdf: Permission denied
grep: ./prev/2016apr/vboxpresentation.pdf: Permission denied
rick at gruyere:~/www$ ls -l prev/2007nov/
total 7456
-rw--w---- 1 www-data www-data 7607296 Apr 5 2011 VirtualNetworks_SVLUG_Nov7_07.ppt
rick at gruyere:~/www$ sudo su -
root at gruyere:~ # cd www/prev/2007nov/
root at gruyere:~/www/prev/2007nov # chmod 644 VirtualNetworks_SVLUG_Nov7_07.ppt
root at gruyere:~/www/prev/2007nov # ls -l ../2015nov/
total 21700
-rw--w---- 1 www-data www-data 22190330 Dec 24 16:22 stacki-svlug.pdf
root at gruyere:~/www/prev/2007nov # ls -l ../2016apr/
total 1176
-rw--w---- 1 www-data www-data 1199753 Apr 7 23:08 vboxpresentation.pdf
root at gruyere:~/www/prev/2007nov # chmod 644 ../2015nov/stacki-svlug.pdf ../2016apr/vboxpresentation.pdf
root at gruyere:~/www/prev/2007nov #
Hmm, above, svn claimed I checked in revisions 342, 343, and 344,
_but_ "svn log" still claims r340, your latest checkin at 6:57 PM today,
is the latest checkin.
------------------------------------------------------------------------
r340 | danielg4 | 2016-05-01 18:57:41 -0700 (Sun, 01 May 2016) | 2 lines
Test check-in
------------------------------------------------------------------------
r339 | danielg4 | 2016-05-01 18:49:11 -0700 (Sun, 01 May 2016) | 2 lines
Test check-in removing an empty file
------------------------------------------------------------------------
r338 | root | 2016-04-30 15:25:23 -0700 (Sat, 30 Apr 2016) | 2 lines
Checking in all edits to meetings.txt after Oct 2, 2014
Ah, telephoned Daniel, and he said it was neccessary to do 'svn checkout'.
I thought about this, and that would be a _very_ bad idea unless we're
absolutely sure the repo is totally up to date, because the working area,
/var/www/svlug-main , is our live Web tree.
Upon contemplation, I realised that Daniel probably meant 'svn up'.
root at gruyere:~/www # svn up
At revision 345.
root at gruyere:~/www # svn log
------------------------------------------------------------------------
r345 | root | 2016-05-01 23:02:50 -0700 (Sun, 01 May 2016) | 1 line
Check in previously untracked files
------------------------------------------------------------------------
r344 | root | 2016-05-01 22:43:15 -0700 (Sun, 01 May 2016) | 1 line
Check in stv directory files
------------------------------------------------------------------------
r343 | root | 2016-05-01 22:32:17 -0700 (Sun, 01 May 2016) | 1 line
Catch up on checkins of tracked files
------------------------------------------------------------------------
r342 | root | 2016-05-01 22:18:22 -0700 (Sun, 01 May 2016) | 1 line
Change May 2016 meeting to TBA, for now
------------------------------------------------------------------------
r341 | danielg4 | 2016-05-01 19:00:06 -0700 (Sun, 01 May 2016) | 2 lines
Undo last check-in
[...]
OK, I think we're now fine.
I have just updated site-docs/svn-instructions to be a bit more useful
to svn newcomers, and cover some of the above details.
Note: For better or worse, site-docs is NOT checked into our svn
repo. Only the system Web tree is.
I also annotated the above to site-docs/ChangeLog .
More information about the volunteers
mailing list