yashichawla / coffee Goto Github PK
View Code? Open in Web Editor NEWA version control system built using Java and DropBox API.
A version control system built using Java and DropBox API.
Push local clone to remote. Upload the entire folder and update database entries.
Implement method calling functions for RepositoryUtilities.java
so commands can be executed. Requires RepositoryUtilities
to be finished first for functions to be mapped to commands. Templates are already present in the same file for other command types, needs to be replicated for the repository commands.
Needs to be added to the downloadFolder
functionality
Pull changes from remote to local clone
Given a repositoryId
, obtain the owner of that repository from the relations table. Add this function to RepositoryDatabaseUtilities.java
.
This snippet (or a slight modification of it) is used in almost all repository related functions. It is used to fetch the relation the current user has with the current repository.
found_user = False
for relation in relations:
if relation[0]==user_id:
repo_relation = relation[-1]
found_user = True
break
if not found_user:
print("You do not have access on this repository. Cannot see status")
return
There is a function in RelationDatabaseUtilities.java
that performs the same. We should call the database function instead of looping through all possible relations after fetching from database. This has been performed for pull
and commit
Add a collaborator to current repository after checking for permissions
Display a cute coffee bean (similar to togepi
) command
Some files have comments which have old code, or functionalities that are yet to be implemented.
Commits all updated files. Multiple processes take place - diff calculations, database updates, creating commit files
Creates a new repository and updates all databases
Clone and download a repository if you have the sufficient permissions
Adds all the files to track. Can take in a String
of space-separated file paths, or a .
for recursively adding all files, directories and subdirectories in the current folder. For any new files, update in database.
For all tracked files, check if local clone is modified and display
adding API keys like this is a security issue. Instead use ENV variables
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.