Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

push all 3 files (readme, code and notes) under single commit #245

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

BRO3886
Copy link
Contributor

@BRO3886 BRO3886 commented Mar 5, 2022

No description provided.

uses ref, blob and tree apis from github to create a single
commit per submission. Also removes the need for update and upload
actions and methods since github can calculate diffs between blobs

This will reduce the amount of commits so that your git history
remains cleaner. Also, does not upload notes if notes length is 1
@BRO3886
Copy link
Contributor Author

BRO3886 commented Mar 6, 2022

@QasimWani :)

@ShanePark
Copy link

ShanePark commented Mar 29, 2022

Please. 3 commits for every submission is a bit much :)

@yadunandanbhat
Copy link

Yes! To recruiters who takes a look at our profile, it looks like we just did leetcode for the sake of increasing our commits!

@calee0219
Copy link

The feature looks great!

@atanughosh01
Copy link

@QasimWani need this very much

@li935
Copy link

li935 commented Aug 27, 2022

I want that function, too. The number of unnecessary commits seems to exaggerate my history.

Copy link

@li935 li935 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a necessary development for us.

Copy link

@Suhasr76 Suhasr76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Copy link

@Suhasr76 Suhasr76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@@ -368,6 +368,91 @@ function findCode(
}
}

const getCodeAndMsg = async (msg) => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're creating a lot of tech debt with these two new functions. also, it doesn't incorporate updating local windows storage when you've already solved the problem before. Solving same problem keep increasing up your problem count tally.

const token = res.leethub_token;
const mode = res.mode_type;
const hook = res.leethub_hook;
const stats = res.stats;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be a var. You're changing the value of stats later in the function.

Copy link
Owner

@QasimWani QasimWani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorporate new functions into existing scripts.

@BRO3886
Copy link
Contributor Author

BRO3886 commented Oct 19, 2022

would not be able to pick it right now due to some personal commitments, @QasimWani, please feel free to close. You can also assign it to someone who wants to work on this further

@sumitpardhiya
Copy link

Please remove 3 commits for every solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants