After a week I have released logrusutil v1.0.0. What took me at least 80% of the time? Writing GoDocs, example application and readme files.Setting up continuous integration with GitHub Actions and GolangCI.Testing the library consumption via Go Modules, go get and dep.
Tag: github
Git snippet: Cleaning and migrating a repo
Below is a snippet which I used when I was migrating some legacy code to GitHub. SRC_URL= DEST_URL= FOLDER_NAME= # deep clone (mirror) git clone --mirror $SRC_URL $FOLDER_NAME # backup tar cvzf ${FOLDER_NAME}.tar.gz $FOLDER_NAME # see if there are any big or unnecessary files in whole repoe history cd $FOLDER_NAME git rev-list --all | xargs … Continue reading Git snippet: Cleaning and migrating a repo
GitHub flow quiz
Nowadays there are three popular branching models: GitFlowGitHub flowTrunk Based Development Personally, I find GitHub flow a very pragmatic approach as it is simple, yet powerful. If you do not need to maintain a lot of versions of your software, then you do not need to use the complex branching model proposed by GitFlow. On … Continue reading GitHub flow quiz