Commit Graph

16 Commits

Author SHA1 Message Date
Bjarke Sporring
7e2f8d64fb refactor: simplify user choice. Install and clone split 2026-01-15 10:29:34 +01:00
Bjarke Sporring
eadf8cfe6a fix: version checks 2026-01-15 10:23:15 +01:00
Bjarke Sporring
9e22f84a53 fix: init of prereqs 2026-01-15 10:14:15 +01:00
Bjarke Sporring
daa787842a fix: remove the statement? 2026-01-15 10:11:40 +01:00
Bjarke Sporring
a392e8c97d feat: add a "what do you want" step 2026-01-15 10:09:11 +01:00
Bjarke Sporring
009a3a9104 fix: proper version formatting for install version check 2026-01-15 10:03:21 +01:00
Bjarke Sporring
32a0e89f72 fix: let's just try to find a version inside the version string 2026-01-15 09:55:54 +01:00
Bjarke Sporring
91c46718c6 fix: version regex for git and other semver stuff 2026-01-14 17:48:57 +01:00
Bjarke Sporring
c99e238814 fix: version match 2026-01-14 17:42:40 +01:00
Bjarke Sporring
2633ee2b71 Add clear terminal opening guidance for VSCode
- Enhance instructions for opening integrated terminal in VSCode
- Provide multiple methods: Ctrl+backtick, menu, and Command Palette
- Add visual separation with headers for important information
- Emphasize that terminal opening is REQUIRED for next steps
- Include detailed fallback instructions if VSCode command fails
- Make terminal guidance impossible to miss with multiple clear options
- Remove ambiguity about how to access terminal in VSCode
2026-01-14 17:29:22 +01:00
Bjarke Sporring
c28151cc19 Fix version parsing in Install-Package for Windows Git format
- Update regex to extract only semantic version numbers (x.y.z)
- Prevents matching entire string like '2.52.0.windows.1'
- Uses '^(\d+(?:\.\d+){1,2})' to match version at start of string only
- Extracts '2.52.0' from '2.52.0.windows.1' for proper version comparison
- Handles Windows Git version suffixes correctly
- Maintains compatibility with standard version formats
2026-01-14 17:24:33 +01:00
Bjarke Sporring
07faa14b7a Remove Python installation and add one-shot install instructions
- Remove all Python-related installation logic since Module 08 is Git-only
- Update synopsis to mention repository cloning capability
- Add one-shot installation instructions using Invoke-RestMethod
- Remove Python from results tracking, installation prompts, and verification
- Simplify installation summary without Python references
- Update examples to show both one-shot and local execution methods
2026-01-14 17:12:03 +01:00
Bjarke Sporring
09f25d6eae Add repository cloning and VSCode opening to install.ps1
- Ask user if they want to clone workshop to Documents/git-workshop
- Automatically clone repository to Documents folder for convenience
- Open VSCode in the workshop directory after cloning
- Handle existing repositories (update if already cloned)
- Provide quick start commands for VSCode terminal
- Fallback to manual instructions if user declines or cloning fails
- Complete end-to-end setup experience
2026-01-14 17:03:04 +01:00
Bjarke Sporring
cbefeaf4d2 refactor: move install-prerequisites to install.ps1 2026-01-14 17:00:02 +01:00
Bjarke Sporring
e7ce41cbbc Update oneshot installation to clone repository locally
- Modified install.ps1 to clone git-workshop repository to ~/git-workshop
- Added option to remove existing directory before cloning
- Updated documentation to reflect the new behavior
- Now provides complete setup: install tools + clone repo in one command
- Similar to Scoop's get.scoop.sh installation pattern
2026-01-14 16:29:09 +01:00
Bjarke Sporring
34f2607b22 Add oneshot installation script for easy setup
- Created install.ps1 that downloads repository and runs prerequisites installer
- Updated README.md and INSTALLATION.md to document the new oneshot option
- Script can be run with: irm https://git.frod.dk/floppydiscen/git-workshop/raw/branch/main/install.ps1 | iex
- Provides seamless installation experience for new users
2026-01-14 16:26:29 +01:00