Bram's Dev Blog

home

100 Days of Code Day 89 - Git

23 Nov 2018

Git: moving code between remotes

We currently have a fix sitting on an internal Atmire git repository for which the client asked me yesterday if we can make a pull request for this, in their own repository on Github.

Instead of burdening my already overloaded tech lead, I thought I can give this a shot myself.

At first instance, I wanted to leave IntelliJ IDEA project creation etc out of this, since I’m not immediately planning on making any code changes on this codebase in IDEA.

Steps I took:

  1. Forked the client’s repository on Github to my own account
  2. made a clone of that repository on my local machine in a new folder
  3. Added the Atmire repository as another remote.
  4. git fetch atmire to get all references of the Atmire repo locally
  5. cherry picked the two commits that should be part of the pull request to the client
  6. pushed my local branch to my account in Github
  7. Issued my pull request from Github

And there it was: https://github.com/milieuinfo/dspace54-atmire/pull/1

Mysteriously reappearing metadata fields

For this same client, investigated another report on metadata fields that were miraculously re-appearing after being deleted from a DSpace metadata schema

Day 89 Plan

Investigate the transition from JSON language files to .po files for DSpace 7.

Future days - DSpace 7 Angular

Future days - Analyzer.atmire.com work

Future Days - Productivity

Future days - Jekyll http://bram-atmire.github.io/ site

Future Days - Atmire.com work

Investigate and work on search engine optimization (SEO) for the main atmire.com website.

Future Days - Learning just for learning

Sustainability challenge - Finish before Christmas

If I continue like October, I could hit day 68 by end of October and day 98 by end of November.