Carlos Martín Nieto
167666cd23
Listen to dialyzer
2013-11-30 20:43:19 +01:00
Carlos Martín Nieto
3110f37ff7
Wrap commit creation
2013-11-24 16:23:01 +01:00
Carlos Martín Nieto
c511675d59
Merge branch 'revparse'
2013-10-16 13:58:20 +02:00
Carlos Martín Nieto
05e1781356
More sensible signature functions
...
Remove all of the older functions. Bind git_signature_default() and
implement the _now() equivalent in erlang.
2013-10-15 22:31:13 +02:00
Carlos Martín Nieto
21464aeece
Wrap git_revparse_single
2013-09-05 15:37:01 +02:00
Carlos Martín Nieto
0d24afb089
Get rid of the tagged OID
...
This means we no longer accept any iolist in some of the functions,
but we might bring it back later.
There is also a new function, geef_ref:create_symbolic() to create
symbolic references, since we can no longer differentiate between a
name and an OID.
2013-09-03 20:37:00 +02:00
Carlos Martín Nieto
e39a17fe43
Allow retrieval of index entries
...
This is still very basic, as we only actually load three fields into
the record.
2013-09-01 15:30:15 +02:00
Carlos Martín Nieto
808a8176bc
Make dialyzer happy
2013-08-31 17:57:55 +02:00
Carlos Martín Nieto
70867b9615
Keep references purely in erlang
...
Refernces contain three pieces of data which we already keep in the
erlang record. Keep the repository it belongs to in the record as well
and remove resource in the NIF. This makes the code easier to reason
about, as we don't need to keep any reference counts or GC the C
struct.
This does mean we cannot re-use references across geef_repo restarts,
but that's probably a good thing.
2013-08-31 17:23:46 +02:00
Carlos Martín Nieto
b04809ca59
Shuffle some types
...
Put types in the modules they belong to instead of including them in
each one from the header.
2013-08-31 14:43:25 +02:00
Carlos Martín Nieto
bb35fce5cc
Implement ref iterators
2013-08-09 23:25:55 +02:00
Carlos Martín Nieto
73f31eac2f
Make dialyzer happy
2013-07-31 05:00:23 +02:00
Carlos Martín Nieto
52a6f72fef
Provide geef_tree:count/1
2013-07-24 23:55:54 +02:00
Carlos Martín Nieto
bf2a59dbf2
Fix some dialyzer warnings
2013-07-17 10:37:00 +02:00
Carlos Martín Nieto
328b2c4b4b
Allow getting a tree entry by position
2013-06-12 02:34:53 +02:00
Carlos Martín Nieto
9d222df593
Initial signature test
2013-06-11 16:34:02 +02:00
Carlos Martín Nieto
042156d843
Bind ref name dwim
2013-06-07 17:55:16 +02:00
Carlos Martín Nieto
0e644be825
Add tag-peeling support
2013-05-30 03:39:51 +02:00
Carlos Martín Nieto
604388a76d
Keep the reference name as part of the record
2013-05-13 11:46:12 +02:00
Carlos Martín Nieto
3f4d51c0e1
Simple version of index_add
2013-05-03 23:42:49 +02:00
Carlos Martín Nieto
0aa11d8532
Allow creation of refs
2013-05-02 06:24:15 +02:00
Carlos Martín Nieto
0127730f6b
Add geef_index:read_tree()
2013-04-26 14:34:15 +02:00
Carlos Martín Nieto
0a71085a40
Introduce geef_index
2013-04-26 11:47:40 +02:00
Carlos Martín Nieto
65227fe85b
Move nif functions to geef_nif
2013-04-25 11:05:57 +02:00