This is how to update a gem that was cut using Bundler: Say git pull or check out a repository from Github like git clone git@github.com:makandra/geordi.git

...commit your changes. You can but don't need to push your changes to Github. If you haven't logged in to Rubygems.org before: Get credentials for Rubygems.org from the...

makandra Curriculum

...the purpose of: Feature branches Code reviews Commit squashing (and the resulting traceability through git blame) Our Merge request checklist Read the card Before you make a merge request: Checklist...

Tip If no merge request option can be found, check in your GitLab settings (general > visibility) if the slider "Merge requests" is activated. If not, do so.

...in the dump. In this example we use the initial migration without the fix. git log --reverse ./db/migrate/20200729124233_add_users.rb commit d4848ad598b2f02cbca7580a2b928d02996abeb4 Author: Some user <some.user@example.com> Date: Thu Jul...

...Fix error in users migration Checkout this commit SHA git checkout d4848ad598b2f02cbca7580a2b928d02996abeb4 3. Delete the database, import the dump and migrate to the current branch git checkout d4848ad598b2f02cbca7580a2b928d02996abeb4

makandra Curriculum

...Persist your choice in the $EDITOR variable. It defines the default for commands like git commit: # Example with vim # open the configuration file vim ~/.bashrc # navigate to the end of...

...our mysql2 fork, 0.2.x-lts and 0.3.x-lts. Use gem 'mysql2', git: 'https://github.com/makandra/mysql2', branch: '0.2.x-lts' # for Rails 2.x gem 'mysql2', git: 'https://github.com...

DevOps Curriculum

...Lösung verwendet werden sollen Maps.co Free Geocoding API Weather Forecast API Historical Weather API Gitlab Issue API Hilfe bei den Ruby Implementierungen The Ultimate Guide to HTTP Requests in Ruby...

Ruby table_print Ruby OptionParser Aufgaben Deine Arbeitsergebnisse sollten in einem Git Repository eingecheckt werden. Bitte erstelle für jeden Arbeitsschritt einen Merge Request und lasse diesen von...

...Zugriff zu einem Account haben. Außerdem solltest du den hier erstellten Code in einem Git Repository pflegen. Bitte erstelle für die einzelnen Aufgaben jeweils Merge Requests und weise diese deinem...

docs.gitlab.com

Short hint: If you want to push to a git repository that has CI configured, you can skip the CI pipeline for commits that don't need a CI run...

...git push -o ci.skip This has a few cavates: Skips only branch pipelines and not merge request pipelines. This does not skip pipelines for CI/CD integrations, such as Jenkins...

DevOps Curriculum

...Servern schon gelernt hast, hat es seine Vorteile, seine Konfigurationen als Code in einem Git Repo zu managen. Das Erstellen von Infrastruktur funktioniert dann reproduzierbar, beliebig oft und Änderungen und...

...zwar meistens in AWS Umgebungen, aber möchten auch andere Dienste verwalten (DNS Provider, Auth0, Gitlab, ...). Am besten wirfst du einen kurzen Blick auf die unten stehenden Inhalte. Alle diese Dienste...

...spec files which have been edited or added in the current branch since master: git diff --name-only master -- ./spec | xargs -I{} rspec {} If you have several spec folders add...

docs.zizmor.sh

...CI/CD workflows for potential security issues and suboptimal defaults if they are based on GitHub Actions. For example, it warns you about string interpolations that may expand into attacker-controllable...

...the checkout action actions that are not pinned to a tag instead of a git SHA Some of the warnings can be auto-fixed. The tool comes with its own...

Create a directory mkdir ~/.aws Initialise git repository cd ~/.aws && git init Create a git branch with a name you want (e.g. development for the aws development account credentials).

...you want to manage a new account you just have to add a new git branch. Add this to your bashrc: export EC2_PRIVATE_KEY=~/.aws/pk-ec2.pem export EC2_CERT=~/.aws/cert-ec2.pem...

When you have a Pull Request on GitHub that includes commits from another Pull Request, you will still see them after the "child" PR has been merged. Unfortunately, GitHub won...

...or commit list). Here is what worked for me: Check out the target branch git checkout my-target-branch Make sure you are up to date against origin (e.g. git...

You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying to. Simply add set :deploy_via, :remote_cache

...exclude, [ '.git' ] to your config/deploy.rb and Capistrano will create a clone in shared/cached-copy. This will be updated using git pull when deploying which transfers less bytes and is usually much...

...are running on CI. For this you might also want to commit tmp/.gitkeep to git so the tmp dir inside your project is present. Example Dir.mktmpdir('exports') => "/tmp/exports20220912-14561-pobh0a" Improving your...

...fork. In your Gemfile, change mysql2 to either # for Rails 2.3 gem 'mysql2', :git =>'https://github.com/makandra/mysql2', :branch => '0.2.x-lts' # for Rails 3.x gem 'mysql2', git: 'https://github.com...

makandra dev

...main or similar) and proceeds to deploy staging afterwards: alias await-deployment='watch -g git pull && bundle exec cap staging deploy' Note Use at your own risk.

...für deine Ausbildung ebenfalls wissen solltest. Arbeite durch die folgende Liste an Inhalten: 120 Git basics [1d] 180 Personal productivity [1d] 162 Personal security [0.5d] 265 High-availability operations...

...gem install chunky_png -v=0.8.0 freeze our lemonade version cd vendor/gems git clone http://github.com/makandra/lemonade.git lemonade-0.3.4 rm -rf lemonade-0.3.4/.git in config/environment.rb: config.gem 'compass', :version...

...paths to assets via compass helper functions. Uncomment: relative_assets = true require 'lemonade' in .gitignore: ^ *.sprite_info.yml` also Remarks This setup is still not optimal: dependency on compass is unnecessary

...Aus jeder Card wird Code herausfallen, achte darauf, dass sich der Code immer in Git Repositories befindet Mache deine Änderungen in Feature Branches und stelle Merge Requests die du deinem...

Clone your project a 2nd time, into a new differently named directory. Example: git clone git@example.com:repo repo-copy (if your git server is slow you can also just...

makandra dev
semaphoreci.com

...for our own projects. Configuration that is not needed any more set :copy_exclude, ['.git'] The .git repository is excluded from the current directory on the server, but its contents...

...eventually run into conflicts. Expect them and be fine with it. :) When done, use git rebase -i to squash all reverts into one commit. This will make it a lot...

...be tricky. If the diff is too unreadable, you can cheat by doing a git show master:path/to/file and see what the deployed state looks like -- it's probably correct...

...on different machines. This means that if you're collaborating with colleages e.g. via git, each run of terraform will possibly see a different hash of the code's ZIP...