xenoinc / codedevops Goto Github PK
View Code? Open in Web Editor NEWDevOps for Git commands and Visual Studio shortcuts. This serves as the DevOps standards for Xeno Innovations software development
License: GNU General Public License v3.0
DevOps for Git commands and Visual Studio shortcuts. This serves as the DevOps standards for Xeno Innovations software development
License: GNU General Public License v3.0
As a user, I would like for GitPull
to check for fatal: refusing to merge unrelated histories
and suggest the -u
switch to merge unrelated histories.
As a user, I would like to be able to make a base dev environment (i.e. C# for Xamarin) for Visual Studio. In order to do so, we need templates to work from
.\BuildTools\cache\
)As a developer, I want to have basic PowerShell and Markdown styling rules
As a user, I want to be able to install/update the DevOps script helpers via a simple command.
Below is a sample from dotnet-script
User types:
(new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.ps1") | iex
Script executed:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
# Create a temporary folder to download to.
$tempFolder = Join-Path $env:TEMP "dotnet-script"
New-Item $tempFolder -ItemType Directory -Force
# Get the latest release
$latestRelease = Invoke-WebRequest "https://api.github.com/repos/filipw/dotnet-script/releases/latest" |
ConvertFrom-Json |
Select-Object tag_name
$tag_name = $latestRelease.tag_name
# Download the zip
Write-Host "Downloading latest version ($tag_name)"
$client = New-Object "System.Net.WebClient"
$url = "https://github.com/filipw/dotnet-script/releases/download/$tag_name/dotnet-script.$tag_name.zip"
$zipFile = Join-Path $tempFolder "dotnet-script.zip"
$client.DownloadFile($url,$zipFile)
$installationFolder = Join-Path $env:ProgramData "dotnet-script"
Microsoft.PowerShell.Archive\Expand-Archive $zipFile -DestinationPath $installationFolder -Force
Remove-Item $tempFolder -Recurse -Force
$path = [System.Environment]::GetEnvironmentVariable("path", [System.EnvironmentVariableTarget]::User);
# Get all paths except paths to old dotnet.script installations.
$paths = $path.Split(";") -inotlike "*dotnet.script*"
# Add the installation folder to the path
$paths += Join-Path $installationFolder "dotnet-script"
# Create the new path string
$path = $paths -join ";"
[System.Environment]::SetEnvironmentVariable("path", $path, [System.EnvironmentVariableTarget]::User)
Write-Host "Successfully installed version ($tag_name)"
Use lib
folder for including non cmd-let files.
# Include Files --------
. "$PSScriptRoot/lib/GitHelpers.ps1";
As a user, I would like for GitPrune
to have a switch for removing local branches that no longer exist on the remote.
As a user, I would like for Xeno.DevOps to be able to create a basic workspace for my Xamarin test bench projects. This would include the bare minimum project files needed - unlike a sanctioned project which required full documentation and different folder structure.
The following files and folder structure should be created
As a user, I want to have quicker branch syncing.
Today, GitSync
performs a checkout of the default (develop) branch, pulls, and then proceeds to re-checkout our active branch and merge in the default branch. This process can be quickly streamlined by performing a background sync w/ the default branch without switching back and forth.
As a user, I would like the ability to sync again any branch of my choosing and not just the develop
branch.
[feature-MyBranch]> git checkout feature-branch2
[feature-branch2]> git pull
[feature-branch2]> git checkout feature-MyBranch
[feature-MyBranch]> git merge feature-branch2
[feature/MyBranch]> GitSync -syncBranch "feature/TeammateBranch"
Sync complete!
As a user, I would like a simple command line parameter to allow unrelated histories to be pulled from our respective repository.
git.exe pull --progress -v --no-rebase --allow-unrelated-histories "origin" master
As a user, I would like to have more verbose logging around the GitCommand feature with color highlighting.
Include when the checkout has been completed, or when a branch could not be found.
As a user, I would like for Xeno.DevOps to be able to create a project workspace for my C# applications. This would include the required project filters needed for sanctioned projects which required full documentation and a proper folder structure.
docs
folder for documentationsource
for solutions and projectsoutput
folder for building projectsA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.