Use the Opera Web browser? Change password ASAP!

Opera urges sync password reset after breach

Got on with Git

In which I move my version control from ComponentSoftware’s CS-RCS Pro to Git while preserving commit history.

[If you don’t want the back story, click here for the instructions!]

OK, so having watched the video I linked to earlier, I thought I’d move some of my old projects to Git.

I picked one at random, and went looking for tools.

I’m hampered a little by the fact that all my old projects used ComponentSoftware’s “CS-RCS Pro”.

Why did you choose CS-RCS Pro?

A couple of really good reasons:

  • It works on Windows
  • It integrates moderately well with Visual Studio through the VSS functionality
  • It’s compatible with GNU RCS, which I had some familiarity with
  • It was free if you’re the only dev on your projects

But you know who doesn’t use CS-RCS Pro any more?

That’s right, ComponentSoftware.

It’s a dead platform, unsupported, unpatched, and belongs off my systems.

So why’s it still there?

One simple reason – if I move off the platform, I face the usual choice when migrating from one version control system to another:

  • Carry all my history, so that I can review earlier versions of the code (for instance, when someone says they’ve got a new bug that never happened in the old version, or when I find a reversion, or when there’s a fix needed in one area of the code tree that I know I already made in a different area and just need to copy)
  • Lose all the history by starting fresh with the working copy of the source code

The second option seems a bit of a waste to me.

OK, so yes, technically I could mix the two modes, by using CS-RCS Pro to browse the ancient history when I need to, and Git to browse recent history, after starting Git from a clean working folder. But I could see a couple of problems:

  • Of course the bug I’m looking through history for is going to be across the two source control packages
  • It would mean I still have CS-RCS Pro sitting around installed, unpatched and likely vulnerable, on one of my dev systems

So, really, I wanted to make sure that I could move my files, history and all.

What stopped you?

I really didn’t have a good way to do it.

Clearly, any version control system can be moved to any other version control system by the simple expedient of:

  • For each change X:
    • Set the system date to X’s date
    • Fetch the old source control’s files from X into the workspace
    • Commit changes to the new source control, with any comments from X
    • Next change

But, as you can imagine, that’s really long-winded and manual. That should be automatable.

In fact, given the shared APIs of VSS-compatible source control services, I’m truly surprised that nobody has yet written a tool to do basically this task. I’d get on it myself, but I have other things to do. Maybe someone will write a “VSS2Git” or “VSS2VSS” toolkit to do just this.

There is a format for creating a single-file copy of a Git repository, which Git can process using the command “git fast-import”. So all I have to find is a tool that goes from a CS-RCS repository to the fast-import file format.

Nobody uses CS-RCS Pro

So, clearly there’s no tool to go from CS-RCS Pro to Git. There’s a tool to go from CS-RCS Pro to CVS, or there was, but that was on the now-defunct CS-RCS web site.

But… Remember I said that it’s compatible with GNU RCS.

And there’s scripts to go from GNU RCS to Git.

What you waiting for? Do it!

OK, so the script for this is written in Ruby, and as I read it, there seemed to be a few things that made it look like it might be for Linux only.

I really wasn’t interested in making a Linux VM (easy though that may be) just so I could convert my data.

So why are you writing this?

Everything changed with the arrival of the recent Windows 10 Anniversary Update, because along with it came a new component.

bashonubu

Bash on Ubuntu on Windows.

It’s like a Linux VM, without needing a VM, without having to install Linux, and it works really well.

With this, I could get all the tools I needed – GNU RCS, in case I needed it; Ruby; Git command line – and then I could try this out for myself.

Of course, I wouldn’t be publishing this if it wasn’t somewhat successful. But there are some caveats, OK?

Here’s the caveats

I’ve tried this a few times, on ONE of my own projects. This isn’t robustly tested, so if something goes all wrong, please by all means share, and people who are interested (maybe me) will probably offer suggestions, some of them useful. I’m not remotely warrantying this or suggesting it’s perfect. It may wipe your development history out of your one and only copy of version control… so don’t do it on your one and only copy. Make a backup first.

GNU RCS likes to store files in one of two places – either in the same directory as the working files, but with a “,v” pseudo-extension added to the filename, or in a sub-directory off each working folder, called “RCS” and with the same “,v” extension on the files. If you did either of these things, there’s no surprises. But…

CS-RCS Pro doesn’t do this. It has a separate RCS Repository Root. I put mine in C:RCS, but you may have yours somewhere else. Underneath that RCS Repository Root is a full tree of the drives you’ve used CS-RCS to store (without the “:”), and a tree under that. I really hope you didn’t embed anything too deep, because that might bode ill.

Initially, this seemed like a bad thing, but because you don’t actually need the working files for this task, you can pretend that the RCS Repository is actually your working space.

Maybe this is obvious, but it took me a moment of thinking to decide I didn’t have to move files into RCS sub-folders of my working directories.

Make this a “flag day”. After you do this conversion, never use CS-RCS Pro again. It was good, and it did the job, and it’s now buried in the garden next to Old Yeller. Do not sprinkle the zombification water on that hallowed ground to revive it.

This also means you MUST check in all your code before converting, because checking it in afterwards will be … difficult.

Enough already, how do we do this?

Assumption: You have Windows 10.

  1. Install Windows 10 Anniversary Update – this is really easy, it’s an update, you’ve probably been offered it already, and you may even have installed it. This is how you’ll know you have it:
    capture20160826194922505
  2. Install Bash on Ubuntu on Windows – everyone else has written an article on how to do this, so here’s a link (I was going to link to the PC World article, but the full-page ad that popped up and obscured the screen, without letting me click the “no thanks” button persuaded me otherwise).
  3. Run the following commands in the bash shell:
    sudo apt-get update
    sudo apt-get install git
    sudo apt-get install ruby
  4. [Optional] Run “sudo apt-get instal rcs”, if you want to use the GNU RCS toolset to play with your original source control tree. Not sure I’d recommend doing too much of that.
  5. Change directory in the bash shell to a new, blank workspace folder you can afford to mess around in.
  6. Now a long bash command, but this really simply downloads the file containing rcs-fast-export:
    curl http://git.oblomov.eu/rcs-fast-export/blob_plain/c8a2bd6edbb21c1bfaf269ad1ec0e82af72c911a:/rcs-fast-export.rb -o rcs-fast-export.rb
  7. Make it executable with the command “chmod +x rcs-fast-export.rb”
  8. Git uses email addresses, rather than owner names, and it insists on them having angle brackets. If your username in CS-RCS Pro was “bob”, and your email address is “kate@example.com”, create an authors file with a bash command like this:
    echo “bob=Kate Smith <kate@example.com>” > AuthorsFile
  9. Now do the actual creation of the file to be imported, with this bash command:
    ./rcs-fast-export.rb -A AuthorsFile /mnt/c/RCS/…path-to-project… > project-name.gitexport
    [Note a couple of things here – starting with “./”, because that isn’t automatically in the PATH in Linux. Your Windows files are logically mounted in drives under /mnt, so C:RCS is in /mnt/c/RCS. Case is important. Your “…path-to-project…” probably starts with “c/”, so that’s going to look like “/mnt/c/RCS/c/…” which might look awkward, but is correct. Use TAB-completion on folder names to help you.]
  10. Read the errors and correct any interesting ones.
  11. Now import the file into Git. We’re going to initialise a Git repository in the “.git” folder under the current folder, import the file, reset the head, and finally checkout all the files into the “master” branch under the current directory “.”. These are the bash commands to do this:
    git init
    git fast-import < project-name.gitexport
    git reset
    git checkout master .
  12. Profit!
  13. If you’re using Visual Studio and want to connect to this Git repository, remember that your Linux home directory sits under “%userprofile%appdatalocallxsshome”

This might look like a lot of instructions, but I mostly just wanted to be clear. This is really quick work. If you screw up after the “git init” command, simply “rm –rf .git” to remove the new repository.

Haven’t changed your Dropbox password since 2012? Naughty,…Naughty… 🙁   Better do it now!

Dropbox prompts certain users to change their passwords

Office for Mac Updates (Critical)

Security Update for Microsoft Office (3177451)

Reason for Revision: V2.0 (August 22, 2016): Bulletin revised to
announce the availability of the 14.6.7 update for Microsoft
Office for Mac 2011 (3179162) and the 15.25 update for Microsoft
Office 2016 for Mac (3179163). Customers running affected Mac
software should install the appropriate update for their product
to be protected from the vulnerabilities discussed in this
bulletin.

– Originally posted: August 9, 2016
– Updated: August 22, 2016
– Bulletin Severity Rating: Critical
– Version: 2.0

Apple updates iOS to 9.3.5

About the security content of iOS 9.3.5

iOS 9.3.5

Released August 25, 2016

Kernel

Available for: iPhone 4s and later, iPad 2 and later, iPod touch (5th generation) and later

Impact: An application may be able to disclose kernel memory

Description: A validation issue was addressed through improved input sanitization.

CVE-2016-4655: Citizen Lab and Lookout

Kernel

Available for: iPhone 4s and later, iPad 2 and later, iPod touch (5th generation) and later

Impact: An application may be able to execute arbitrary code with kernel privileges

Description: A memory corruption issue was addressed through improved memory handling.

CVE-2016-4656: Citizen Lab and Lookout

WebKit

Available for: iPhone 4s and later, iPad 2 and later, iPod touch (5th generation) and later

Impact: Visiting a maliciously crafted website may lead to arbitrary code execution

Description: A memory corruption issue was addressed through improved memory handling.

CVE-2016-4657: Citizen Lab and Lookout

Windows 10 Anniversary Update (AU) may cause BSOD with Kindle Readers

There are several reports of W10 AU causing a BSOD when an Amazon Reader is connected to the PC.

Windows 10 Anniversary Update Causing Blue Screen of Death When PCs Connect to an Amazon Kindle

Removal instructions for Regfixer Offer TSS

What is Regfixer Offer TSS?

The Malwarebytes research team has determined that Regfixer Offer TSS is a Tech Support Scam. These so-called “Tech Support Scammers” try to trick you into calling their phone number for various reasons, all of which turn out to be fraudulent in the end.

https://forums.malwarebytes.org/topic/187486-removal-instructions-for-regfixer-offer-tss/

How to Turn On or Off Play Sounds in Webpages in Internet Explorer

Internet Explorer will play sounds in webpages by default in Windows. If you like, you can turn off playing all sounds in webpages (ex: YouTube) in Internet Explorer. This will effectively mute Internet Explorer without muting your system volume.

This tutorial will show you how to turn on or off to play sounds in webpages in Internet Explorer for your account in Windows.

Read more…

How to Add or Remove Cast to Device context menu in Windows 10

Cast to Device in Windows 10 is a rebranded and improved version of Play To Device that was used in previous version of Windows. Cast to Device is a feature that allows you to directly (wired or wirelessly) stream media from your PC or tablet to a Miracast or DLNA supported device (ex: TV or Xbox) on your home network.

The Cast to Device context menu is available on media files (music, photos, videos, etc…) and folders that are supported for this feature. Cast to Device is also available as an option in supported apps, such as Microsoft Edge and Movies & TV.

This tutorial will show you how to remove the Cast to Device context menu from files and folders for all users in Windows 10. This can be handy if you don’t use or want the context menu.

Read more…

Spybot Search & Destroy Weekly Update – August 24, 2016

2016-08-24
Adware
+ Ad.Linkular + Ad.QvodPlayer ++ Ad.WSeven + Ad.YiqilaiLyrics ++ Ad.Zdengine + Firseria
PUPS
+ BubbleDock ++ PU.OtherSearch
Trojan
++ Win32.Agent.fkap + Win32.VB.ik
Total: 2621161 fingerprints in 832299 rules for 7701 products.

»www.safer-networking.org ··· updates/

Removal instructions for WindowsUpdate TSS

What is WindowsUpdate TSS?

The Malwarebytes research team has determined that WindowsUpdate TSS is a Tech Support Scam. These so-called “Tech Support Scammers” try to trick you into calling their phone number for various reasons, all of which turn out to be fraudulent in the end.

https://forums.malwarebytes.org/topic/187441-removal-instructions-for-windowsupdate-tss/

Firefox 48.0.2 Released: August 24, 2016

August 24, 2016
Version 48.0.2, first offered to Release channel users on August 24, 2016

We’d also like to extend a special thank you to all of the new Mozillians who contributed to this release of Firefox!

Fixed

Fix a startup crash issue caused by Websense (Windows only) (Bug 1291738)

https://www.mozilla.org/en-US/firefox/48.0.2/releasenotes/

Outlook Hanging with Surface

After months of struggling with Outlook hanging up inexplicably I found something that looks really promising.  I had thought it was because I’m connecting to several Exchange servers.  It was particularly bad if I switched between the Mail and Calendar windows after Outlook had been running for awhile. My solution was to open up my Calendar in a second window as soon as I opened Outlook, but that was really tedious to have to remember to switch windows instead of using the shortcuts at the bottom left of the Outlook window.

Check this out;   File | Options | Advanced – Disable hardware graphics acceleration.

image

http://www.thirdtier.net/2016/05/outlook-2016-not-responding-solved/

How to Mount or Unmount VHD and VHDX Files in Windows 10

VHD (Virtual Hard Disk) is a file format which represents a virtual hard disk drive (HDD). It may contain what is found on a physical HDD, such as disk partitions and a file system, which in turn can contain files and folders. It is typically used as the hard disk of a virtual machine.

VHDX is a Hyper-V virtual hard disk file format. VHDX has a much larger 64 TB storage capacity than the older VHD format 2TB limit. It also provides data corruption protection during power failures and optimizes structural alignments of dynamic and differencing disks to prevent performance degradation on new, large-sector physical disks.

When you mount a .vhd or .vhdx file, it will be added as a drive in This PC to open it from.

This tutorial will show you different ways on how to natively mount or unmount VHD and VHDX virtual hard disk files in Windows 10.

Read more…

Android Nougat 7.0 – Comprehensive FAQ

The new Android Nougat 7.0 phone O/S offers improved security & functionality. Below is a comprehensive

http://www.computerworld.com/article/3110607/android/android-70-nougat-faq.html

Android 7.0 is officially on its way into the world. So what’s Nougat — the Android software, that is — all about? And what’ll it mean for you? Here are answers to all of your burning questions.

Windows 10 – Ten advanced and hidden usage tips AUG-2016

PC Magazine highlights 10 advanced and hidden usage tips for Windows 10 users as noted below:

http://www.pcmag.com/slideshow/story/347136/10-hidden-tricks-inside-windows-10

Here we present a list of 10 cool tips that will help you get a little bit more out of your Windows 10 experience. Or, at least, there are some things you may have not known about. Some have been available in Windows for a number of generations, while some are native to Microsoft’s most recent OS.

PCMag has some dedicated Windows fans in our readership, so you likely know at least some of these features, but you probably don’t know them all. I tested these on a pair of Lenovo laptops, one running Windows 10 (non-Anniversary Update version) and the other (when accessible) on Windows 7 Professional.

1. Secret Start Menu
2. Secret Desktop Button
3. Rotate Your Screen via Keyboard Ctrl-Alt-D Arrows
4. Enable Slide to Shutdown
5. Enable ‘God Mode’ (power user mode)
6. Right-Click on Tiles
7. Right-Click on the Taskbar
8. Shake – which clears clutter in window displays
9. Drag to Pin Windows
10. Hidden Games in Cortana

Cumulative update for Windows 10 Version 1607: August 23, 2016

Here’s the latest “Cumulative Update” for W10.

Cumulative update for Windows 10 Version 1607: August 23, 2016

Cumulative update for Windows 10 Version 1607: August 23, 2016

Cumulative update for Windows 10 Version 1607: August 23, 2016

Summary
This update includes improvements and fixes in the functionality of Windows 10 Version 1607.

Windows 10 updates are cumulative. Therefore, this package contains all previously released fixes.

If you have installed earlier updates, only the new fixes that are contained in this package will be downloaded and installed on your computer. If you’re installing a Windows 10 Version 1607 update for the first time, the package size for the x86 version is 144 MB and the package size for the x64 version is 263 MB.

How to get this update
Method 1: Windows Update

This update will be downloaded and installed automatically.
Method 2: Microsoft Update Catalog

To get the stand-alone package for this update, go to the Microsoft Update Catalog website.

Prerequisites
There are no prerequisites for installing this update.
Restart information

You have to restart the computer after you apply this update.
Update replacement information

This update replaces the previously released update 3176931.

»support.microsoft.com/en ··· /3176934

Removal instructions for Window Rates Manager

What is Window Rates Manager?

The Malwarebytes research team has determined that Window Rates Manager is adware. These adware applications display advertisements not originating from the sites you are browsing.
This one belongs to the WinRange family.

https://forums.malwarebytes.org/topic/187392-removal-instructions-for-window-rates-manager/

How to Turn On or Off Play Windows Startup Sound in Windows 10

Windows 10 can play a sound at startup to let you know it’s loaded and ready.

This tutorial will show you how to turn on or off the Windows startup sound for all users in Windows 10.

Read more…

Recent Comments

Archives