salarkhan / git-pear Goto Github PK
View Code? Open in Web Editor NEWswap credentials after each commit
swap credentials after each commit
bullshit.
in this case, we should fallback to constructing name using the first half of their email address
AND we should echo a message asking them to update their email address on github
it is time.
Or some other word that more accurately reflects the ending of a session.
brew pear
vs brew git-pear
relevant links
Add currently adds a user and adds a ghost user. adding the same user twice should probably not be attached to this function
We should be able to append what we need to the pre-commit hook with our-pre-commit >> .git/pre-commit
and i think we can remove it with ``our-pre-commit << .git/pre-commit`
I think we are gonna need an if clause to catch the shebang though... or we can just keep adding it forever as it is a comment but that seems stupid
Here are the 2 options I see:
pear [email protected] [email protected]
pear add [email protected] [email protected]
The latter will allow us to maintain the current architecture in pear
, while the former will require some shenanigans around lines 26-32 in pear
.
Something along the lines of running a regex against the argument to check if it's an email && firing pear add $command
? Seems kinda dumb..
pear [email protected]
followed by pear [email protected]
will yield both of us. Also typos will stay around forever, the check for @ symbols should run uninstall.
testing will require us to commit often and to want to remove the pieces that are under construction.
We should build the uninstall feature sooner than later to lower the burden of testing
Assuming the only commands the end user should ever need are 'pear', 'pear email email', and 'pear uninstall' --
Are we gonna have a file who's job it is to handle user input && invoke the respective files? Cause I was kinda confused about how file invocation within the application is supposed to work
As referenced in #44, we should replace "Pear" with the Github usernames ( or real names ) of each pair member.
I imagine this will involve us making an API call to Github, so we should prob look into getting that API key as well.
seems like a likely use case on our workstations
typing just pear
should clear the user list and resume normal functionality to the program
this should be followed by the usage message
the usage message should explain that this happens if we implement this
We should ensure that users don't pear add [email protected]
if that email is already in the team.txt
We should pass the path as argument instead of exporting PEAR_WORKING_DIR.
I think we can simply add it as another argument to uninstall and cycle... which i believe are the only two programs who need to know that location outside of the actual pair app
"man, I'm super proud of what we've done here.
I would welcome all derogatory comments, since all they'll do is make this project sicker "
have at it plx @quackingduck @mweitzel
please note this is intended for a brew install so at the moment for testing as written the path must be amended to
PATH="$PATH:."
pear calls the command pear for functionality. If it's not in the path life is unhappy
it also probably needs an API key as i assume we will run into the same rate limiting problem we currently experience with iam weare
i don't think me or salar are opposed to some DBC branding in the read me or usage for shits and giggles. Wherever it goes i had fun writing this.
homebrew create usr/local/bin (and probably own it for the user too)
therefore our install will fail without home-brew
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.