Comments (1)
After having attempted this, this turned out to be way more trouble than it's worth.
By introducing a "merge" option rather than a simple "replace", it seems easy - merging just means tacking on whatever's being pushed to the end of the existing note. Simple enough.
However, oriole itself has no idea what's been pushed and what hasn't - therefore, every time push
runs, ALL the commits that oriole finds become the most recent, valid commits. In other words, if you push up commits a
, b
, and c
, then add a new d
commit, oriole will now show that you need to push up commits a
, b
, c
, and d
.
What this means is that for merging to work, we would need to essentially add some sort of diffing feature, where oriole compares the existing entry's notes field with the commits that it's about to push, and tries to merge the two. OR oriole needs to keep track of what's been pushed, and recognize only the commits that need to get pushed. Either way, it's a mountain of additional complexity and work.
Sorry - this ain't going to happen anytime soon. Maybe one day.
from oriole.
Related Issues (20)
- Add command to get the info in the store
- Dockerize the project HOT 1
- Convert the project into TypeScript
- Add command for calculating PTO
- Refactor all ternaries to end with null?
- Add confirmation option for oriole push HOT 1
- Add validation message when entering unrecognized command
- Resolve error with push (pictures) HOT 1
- Re-order messages to be ascending, oldest at the top
- Make sure merging adds the number of hours together! HOT 1
- Allow the user to pass in a date to `oriole push` to get the commits from that day.
- Change the time constraint so it's just the current day
- Add tests HOT 1
- Allow the user to delete the entire store
- Update the README
- Add better error handling, especially for rate limiting
- Strange bug when deleting key
- oriole init fails with unexpected token i in JSON HOT 2
- Add a license
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 oriole.