Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Module Micronaut Langchain4j #3

Open
6 of 7 tasks
sdelamo opened this issue Oct 7, 2024 · 0 comments
Open
6 of 7 tasks

New Module Micronaut Langchain4j #3

sdelamo opened this issue Oct 7, 2024 · 0 comments

Comments

@sdelamo
Copy link
Collaborator

sdelamo commented Oct 7, 2024

Issue description

Steps

Splitting a module out of core to its own repo

Here are the steps followed when we created micronaut-session

https://docs.github.com/en/get-started/using-git/splitting-a-subfolder-out-into-a-new-repository

Step by step; (Replace micronaut-session for your new module name, and session as your sub-project of interest)

  1. Install git-filter-repo
    brew install git-filter-repo
    
  2. Clone the branch of core you're interested in extracting from
    git clone https://github.com/micronaut-projects/micronaut-core.git -b 4.0.x micronaut-session
    
  3. go into the new directory
    cd micronaut-session
    
  4. Filter the repo to remove anything non-session related
    git filter-repo --path session/
    
  5. Rename the branch to master
    git branch -m master
    
  6. Strip all the tags
    git tag -d $(git tag -l)
    
  7. Strip all the branches
    git branch | grep -v "master" | xargs git branch -D
    
  8. Create a new public project on GitHub under micronaut-projects called micronaut-session
  9. Add a remote pointing to this new repo
    git remote add origin https://github.com/micronaut-projects/micronaut-session.git
    
  10. From a local recent clone of https://github.com/micronaut-projects/micronaut-project-template, copy all the files into the current folder.
  11. Fix them up with your project name, as per normal
  12. Push
git push origin master

You will need to copy docs from core/src to your new repo.

Then follow the steps above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant