Giter Club home page Giter Club logo

Comments (12)

rabbah avatar rabbah commented on May 30, 2024 1

Historically they were two and I think that's the right approach. We should try to redirect the history from @theophoric as well (from blue) if possible - even if not the entire history, at least some of it. This was something we promised to look into when we resplit the repos.

from openwhisk-cli.

csantanapr avatar csantanapr commented on May 30, 2024

I agree @rabbah we can even amend the commits to put his public github author info name/email

from openwhisk-cli.

houshengbo avatar houshengbo commented on May 30, 2024

@dubeejw One example I can raise for the benefits of having separate repos for client-go and openwhisk-cli is the implementation of wskdeploy depends on openwhisk-client-go, but does not need to care about openwhisk-cli. We put openwhisk-client-go as a dependency for wskdeploy.

If the client-go(go-whisk) and openwhisk-cli(go-whisk-cli) are in the same repo, it has to download the openwhisk-cli as well each time wskdeploy pulls the dependencies, though cli is useless.

from openwhisk-cli.

houshengbo avatar houshengbo commented on May 30, 2024

Let's close this issue so far, since we have already agreed to have two separate repos for cli and go-client. Feel free to reopen it, if you are still concerned about the structure.

from openwhisk-cli.

rabbah avatar rabbah commented on May 30, 2024

The structure is fine but we need to resolve the history preservation before long.

from openwhisk-cli.

rabbah avatar rabbah commented on May 30, 2024

Here are two links to the sdk and cli client with merged histories.
Feel free to clone them and push them to their respective repos under openwhisk.

https://github.com/rabbah/mergedcli
https://github.com/rabbah/mergedcli-client

i split openwhisk/tooks/cli right off of openwhisk master apache/openwhisk@03e041c

The README, CONTRIBUTION, LICENSE all need to be updated. There may be other artifacts to clean up. I trust you will find and clean up the organization where needed.

from openwhisk-cli.

rabbah avatar rabbah commented on May 30, 2024

If instead of splitting openwhisk master you want to merge the history with this repo's history, you can modify the steps below accordingly:

git clone [email protected]:BlueMix-Fabric/go-whisk-cli.git
git clone https://github.com/openwhisk/openwhisk.git
mv openwhisk openwhisk-go-whisk-cli/
cd openwhisk-go-whisk-cli/
git filter-branch --prune-empty --subdirectory-filter tools/cli/go-whisk-cli master
cd ../go-whisk-cli/
git remote add new ../openwhisk-go-whisk-cli/
git fetch new
git merge  new/master
# resolve conflicts (git status to see what needs resolution)**
git commit -m"Merging both histories." -a

You know the rest.

** You will likely have some conflicts to resolve. My resolution policy was brute force: copy all the files from the openwhisk repo as these are the golden sources now.

from openwhisk-cli.

houshengbo avatar houshengbo commented on May 30, 2024

@rabbah @dubeejw
Here is what I am going to do:
There are commits histories from three repos for either openwhisk-cli: [email protected]:BlueMix-Fabric/go-whisk-cli.git(old commits), https://github.com/openwhisk/openwhisk.git(recent CLI changes) and the current openwhisk-cli(recent separation commits).

I need to merge all the commits from them regarding the CLI in order to make the current openwhisk-cli repo both historically preservable and up-to-date.

The same step applies to openwhisk-client-go repo as well.

from openwhisk-cli.

houshengbo avatar houshengbo commented on May 30, 2024

Both of openwhisk-client-go and openwhisk-cli repos preserve the historic commits now:
https://github.com/openwhisk/openwhisk-cli/commits/master
https://github.com/openwhisk/openwhisk-client-go/commits/master

from openwhisk-cli.

csantanapr avatar csantanapr commented on May 30, 2024

@houshengbo I don't think it preserved all the history, only the history from Nov 2016 when @paulcastro did a copy of the source code. I think the initial commits with the copy needs to be replace by the true commits that are before Nov 2016.

@dubeejw Can you double check what I saw ?

from openwhisk-cli.

houshengbo avatar houshengbo commented on May 30, 2024

@csantanapr @dubeejw The initial commit has been retrogressed to on Jan 11, 2016 for openwhisk-cli and on Jan 19, 2016 for openwhisk-client-go.
I just re-did all the steps this morning.

from openwhisk-cli.

csantanapr avatar csantanapr commented on May 30, 2024

@houshengbo sorry about it looks everything it's therein the history, I didn't page to the next level https://github.com/openwhisk/openwhisk-client-go/commits/master?after=5c216065673c15e35e0baa8feca9b986a6b73517+34

from openwhisk-cli.

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.