Code Monkey home page Code Monkey logo

gitex's People

Contributors

awetzel avatar ronanh avatar shakadak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gitex's Issues

Add support for OpenPGP signatures

Currently when doing a Gitex.get of a OpenPGP-sign commit I get something like that:

%{
  "": ["-----END PGP SIGNATURE-----", "=NkYq",
   "jiocYAK29QE238G1TdRY8jxNhe8GYgQ=",
   "7ljWAP9QiWfmfLRVOvhueZZ9BBInMaer2d2JklqLT4lQ+5O6agEA//aWnQZ+wMbq",
   "iHUEABYKAB0WIQT4W9xj/ZtK9Ev2uBLVt6jkPJl97gUCW1ymgQAKCRDVt6jkPJl9", ""],
  author: %{
    email: "[email protected]",
    local_time: {{2018, 7, 28}, {19, 23, 13}},
    name: "Haelwenn (lanodan) Monnier",
    utc_time: {{2018, 7, 28}, {17, 23, 13}}
  },
  committer: %{
    email: "[email protected]",
    local_time: {{2018, 7, 28}, {19, 23, 13}},
    name: "Haelwenn (lanodan) Monnier",
    utc_time: {{2018, 7, 28}, {17, 23, 13}}
  },
  gpgsig: "-----BEGIN PGP SIGNATURE-----",
  hash: "bfdb74e538359865ab7a4844d8c9620024a31d7e",
  message: "Initial Commit\n",
  tree: "6675fd65e791c4ac7d4eb5682e63d0d159e95886"
}

I expect to either not have the gpgsig or have the empty string keyword to be appended to gpgsig.

git status not clean after commit

I'm following the readme to create new commits in a repo. It works well but changes are still present after the commit.

$ mkdir repo
$ git init
Initialized empty Git repository in /./repo/.git/
$ touch file
$ git add file
$ git commit -m "init" file
$ cd ..
$ iex -S mix
iex(1)> r = Gitex.Git.open("repo")
%Gitex.Git{home_dir: "repo/.git", user: nil}
iex(2)> Gitex.get("master", r) |> Gitex.put(r, "repo/file", "foo") |> Gitex.commit(r, "master", "foo")
"d12333819597c14024cc84d9adb775c20a3ad265"
$ cd repo
$ git log
commit d12333819597c14024cc84d9adb775c20a3ad265
Author: anonymous <anonymous@localhost>
Date:   Thu Dec 22 12:51:47 2016 +0100

    foo

commit 53dd7932d470e2dd93fedfcb45853a0b4dcfeb48
Author: Jean-Philippe Braun <[email protected]>
Date:   Thu Dec 22 12:51:22 2016 +0100

    init
$ git show d12333819597c14024cc84d9adb775c20a3ad265
commit d12333819597c14024cc84d9adb775c20a3ad265
Author: anonymous <anonymous@localhost>
Date:   Thu Dec 22 12:51:47 2016 +0100

    foo

diff --git a/repo/file b/repo/file
new file mode 100755
index 0000000..1910281
--- /dev/null
+++ b/repo/file
@@ -0,0 +1 @@
+foo
\ No newline at end of file
$ git status
On branch master
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

	deleted:    repo/file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.