GitSync-applescript icon indicating copy to clipboard operation
GitSync-applescript copied to clipboard

Tasks

Open eonist opened this issue 10 years ago • 7 comments

  • [ ] Branch option in xml

You may work on a "feature branch" Gitsync 1.0.1 should probably support this

Git is all about working with divergent history. so this is very imp.

eonist avatar Sep 06 '15 11:09 eonist

  • [ ] Version setting this project http://semver.org

eonist avatar Sep 06 '15 11:09 eonist

  • [ ] Too many commits?!?

Some like fewer commits, since git is built upon the core concept of snapshots, this is probably the best unique feature of GIT.

So maybe you do:

Commit interval : "lunch time", "mid working day", "leaving work", "before bed time" Push interval : "mid working day","before bed time"

Instead of making a change and committing it directly to the central repo, Git developers have the opportunity to accumulate commits in their local repo. This has many advantages over SVN-style collaboration: it makes it easier to split up a feature into atomic commits, keep related commits grouped together, and clean up local history before publishing it to the central repository. It also lets developers work in an isolated environment, deferring integration until they’re at a convenient break point.

eonist avatar Sep 15 '15 18:09 eonist

  • [ ] Contemplate new commit for file

every new item in the status list gets a new commit

you need to resolve the I,C,M,R git cmd's first though

or maybe just new commit for file change not, new file etc.

You don't want to commit 100 times for 100 files in a folder. 1 commit will do But if you make 10 changes to 10 different files, a different commit for every file may be warranted.

eonist avatar Sep 15 '15 18:09 eonist

  • [ ] Lines modified: 10

this piece of information could be useful tracking down a change. screen shot 2015-08-22 at 19 46 29

you should add the Lines modified: 10 to the modified part of the commit msg description

Say you want to track down a method you deleted apron 2 hours ago. When you have 12 commits in the last hour it can be hard to find. but if you know apron how many lines the method was, it will be easier to find.

Adding the diff to description is to bulky. Will consume too much space and is already in the git.

relative number of lines that were added or deleted

eonist avatar Sep 15 '15 18:09 eonist

  • [ ] "Rename", "Ignored", "moved" and "Copied" not triggered in git

The "Moved" can be possibly be resolved by looking for files in the git status list:

  1. if a file is deleted
  2. and a file is added,
  3. and they both have the same name
  4. then check if they have the same content by doing a git diff of 2 files (research needed)
  5. if there is no difference, then its virtually a

The Renamed: harder, you have to look for a deletion and an addition and then diff every deletion and addition

The copied Is virtually impossible, you have to diff the addition with every file in the git

The ignored: Research needed

TIP:
Copied flag shows up in the description if you do git commit without a custom message

eonist avatar Sep 15 '15 18:09 eonist

  • [ ] Make error msg popups better with a dialog etc. and suggestons on what to do.
    IF YOU ENCOUNTER THIS error message:

fatal: unable to access 'https://github.com/eonist/test.git/': Could not resolve host: github.com error: Could not fetch origin

Then your not connected to the internet

eonist avatar Sep 15 '15 18:09 eonist

  • [ ] Private git repos
    When working with private repos, you may need to upgrade your GitUtil class with login and pass variables for methods such as status, add etc

eonist avatar Sep 15 '15 18:09 eonist