Comments (12)
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.
I agree @rabbah we can even amend the commits to put his public github author info name/email
from openwhisk-cli.
@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.
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.
The structure is fine but we need to resolve the history preservation before long.
from openwhisk-cli.
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.
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.
@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.
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.
@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.
@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.
@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)
- cannot recreate API from exported swagger HOT 1
- AUR Package
- bad CPU type in executable: wsk (macOS 10.15 Catalina) HOT 4
- `wsk api` command should display domain alias url as well
- wsk activation pollSince should be more than activation start
- How to invoke a web action for .json context extension via wsk command? HOT 6
- package bind should support updating a binding HOT 4
- wsk should remove trailing slash on apihost HOT 1
- Could not open settings remapped class cache HOT 9
- CLI, wsk property get results in runtime error: index out of range Application exited unexpectedly error HOT 8
- %0D getting added to APIHOST property of wskprops HOT 3
- Rust file (.rs) is not a supported action runtime HOT 3
- Unresolved reference 'Asset' HOT 1
- Task :goI18n FAILED, on Aarch64 HOT 3
- Benchmarking reflection API calls, via ReportAllocs()
- Is there some way to run `wsk` on Apple m1 chip? HOT 2
- Build fail for cli HOT 1
- how to set a https proxy for wsk HOT 2
- Upgrade SSL lib to avoid deprecated problem
- openwhisk-cli Build failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwhisk-cli.