Migrating from TFVC to Git

Migrating

Even Microsoft are embracing Git right now

Put simply the steps to migrate source code off TFVC onto Git whilst retaining all history are as follows:

1. Create a new local directory on your machine to clone the existing TFVC source code into

2. Download the git-tfs tfs/git bridging tool https://github.com/git-tfs/git-tfs/releases

3. git-tfs clone http://tfs:8080/tfs/isd “$//main” ..\ –branches=all (this brings history down locally in git – mine took 2 hours)

4. git remote add origin http://tfs:8080/tfs/ISD/_git/

5. git push -u origin –all (if you get authentication errors go to Start > Credential Manager and remove tfs entries.

Powershell, Pester and Octopus

Notes from creating Powershell scripts with Pester Unit testing and deploying via Octopus deploy

“Invoke-Pester” will run the pester test files. The test files need to be named something.tests.ps1 to be discovered by the Pester test runner.

When passing params via Powershell in Octopus strings need to be in quotes ie.

-Parameter1 #{Octopus.Variable1} -Parameter2 #{‘Octopus.Variable2AsaStringLiteral’}

Stiff Little Fingers, Liquid Rooms, Edinburgh 1st July

A sold out Liquid Rooms on a Sunday night. SLF still command a following.

It’s been a while since I last saw SLF. Going back a few years to an electrifying gig at Glasgow Barrowlands on St Patricks night. At the time the crowd were shouting out for “Gotta Getaway” much to the annoyance of Jake Burns. But this evening without any prompting the band rip into it. It’s a greatest hits setlist with a few “new” ones along the way and some rare live outtings from Now Then (“Is That What You Fought The War For?”).

It’s a real onslaught of classic after classic. Of course we get Suspect Device at the end and everyone leaves happy. We all leave the pitch black venue and pour out into the street into bright July sunshine. Here’s to the next one. See you up there!

PiL Manchester Ritz, 16th June 2018


I was up on the balcony for this so the photos aren’t great (are they ever?!). My second PIL gig and as enjoyable as the first. There was moments when I was just stood in awe at John’s powerful vocals.


Long Division 2018 – Sat 2nd June

Whilst sat here vegetating to the Spain Vs Portugal World Cup and drinking far too much red wine I thought I’d try and serve some sort of purpose by bringing some collective thoughts (and photos mainly) to another fantastic Long Division. I’ve been to every god damn one of them must be a fair few now 6 or 7? I’ve blogged some of them in the past – click on the tags if you’re remotely interested.

Selective History Highlights

Just book-ending the festival. I guess your first baby is always your favourite?! Well the first Long Division brings back great memories of Wind Up Birds, The Weddoes (avoid the bouncers), ILikeTrains in the glorious Town Hall, the whole DIY/small scale vibe about the whole thing. Fantastic. Then last year there was no Long Division, I was sad. Prior to that it was another sterling lineup of crazy value-for-money proportions, Bis, Membranes (more of them later) and Brix and The Extricated and many more – Very exciting!.

2018

Long Division returns and it’s just like old times really. Curse the “Clashfinder” there’s so many new talent I wanna check out but so many classic bands I wanna see also. To kick off I decide to set aside Mush for The Harriets and whilst a million miles apart they were entertaining. Some great songwriting talent there.

Membranes

The Membranes in the Cathedral and it’s still mid afternoon! – We’re getting truly spoilt here. Brother John and co entertain us greatly in the apt setting of the Catherdral. We have some classics and some recent bangers off the Dark Matter album. Brilliant stuff!


Drahla

A dash across town to Warehouse23 to check out Drahla. Now I dunno whether they are better on the record (sounds like it) but the sound mix seems to let them down and they cut their set short by a good 20 mins. Not sure what went on there. Back to the cathedral…..

Marnie

Helen Marnie known for her work in Ladytron has had a fair few songs out within her own right and her setlist focuses completely on that. Her onstage band member is very talented, throwing down some nice synths then picking up the axe and rocking out. It all works rather well here and of course G.I.R.L.S is played!


Charlotte Hatherley

Seemed to take a while setting up then struggled with technical problems? The whole thing seemed a bit lost in translation. Pretty disappointing really.

Cud

Cud are always one of those bands that seemed to have passed me by. Well I passed them by. I’m a Weddoes and Fall fan. How have I never seen Cud? I even like the stuff of theirs that I’ve heard………And relax! For here we are this evening. Front row (well almost) at a Cud gig and ready to rock!. They do not disappoint. Exactly how I thought they would be. Very entertaining, great stage presence. Just amazing really.

And that was me done – of course I wanted to see Lovely Eggs and a couple of other bands but that old devil time got in the way. Besides we all saw Lovely Eggs at a close and intimate gig in Henry Boons in Wakey a few years back 😉

Spain Vs Portugal? Who cares? Well it was a Ronaldo hat trick to hold the Spaniards to a 3 all draw.