Giter Site home page Giter Site logo

Return git history about helm HOT 3 CLOSED

nextcloud avatar nextcloud commented on September 7, 2024 1
Return git history

from helm.

Comments (3)

billimek avatar billimek commented on September 7, 2024 1

Thanks @scottrigby! I felt pretty confident about the original approach and didn't want to puzzle out the newer, better git-filter-repo approach (will likely try that when migrating the unifi chart).

This should be done now.

from helm.

billimek avatar billimek commented on September 7, 2024

@scottrigby I think I did this properly but before force-pushing to master (which makes me a bit nervous), I'd like to see if you can verify that this sort of commit history looks 'good'?

image

Commit b878a125f is the fist one in the new repo, and all prior commits are from the old helm/charts repo.

One interesting thing I noticed is after following the history-merge instructions, I had to remove some extraneous files from the root of this repo. It looks like the contents of the old helm/charts stable/nextcloud directory got dumped into the root of this repo (things like Chart.yaml, .helmignore, templates/, etc). I had to git rm those files and commit that to make it clean (diff -r --exclude=".git" ....

Otherwise, do you think that's good enough before force pushing to master?

from helm.

scottrigby avatar scottrigby commented on September 7, 2024

Hey @billimek πŸ‘‹ I checked out your merge-git-history branch, and looks good. But since the Harbor issue I've begun to use https://github.com/newren/git-filter-repo for these kinds of operations. It can help with the path change issue (why it looks like you made the cruft cleanup commit), and also documents a re-grafting history use case.

Luckily there are only 2 forks of this repo so far – and one of them is yours πŸ™‚ – because adding history like this requires force pushing a history change to the main branch so users in the middle of making changes would need to reconcile that. I would say this already looks great πŸ‘ but the above tool might make it even nicer if you want to give it a shot on another branch and see?

from helm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.