This new function adds the external odb cache to all
the other odbs.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
cache.h | 1 +
sha1_file.c | 17 +
2 files changed, 18 insertions(+)
diff --git a/cache.h b/cache.h
index d06932ed0b..2ac7d63e5c
This function will be used to check if the external odb
mechanism is actually used.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
external-odb.c | 7 +++
external-odb.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/external-odb.c b/external-odb.c
index 3909
r
of a specific kind by adding a new find_odb_helper()
function.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
external-odb.c | 13 +
external-odb.h | 10 ++
odb-helper.h | 3 +++
3 files changed, 26 insertions(+)
diff --git a/external-odb.c b/exter
This is implemented only in the promisor remote mode
for now by calling fetch_object().
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
external-odb.c | 15 +++
external-odb.h | 1 +
odb-helper.c | 13 +
odb-helper.h | 3 ++-
4 files chang
functions or the external scripts or processes that will
manage and provide external git objects.
For now only infrastructure to create helpers from the
config and to manage a cache for the 'have' command is
implemented.
Helped-by: Jeff King <p...@peff.net>
Signed-off-by: Christia
split out 'sha1_file_name_alt()' from
'sha1_file_name()' and 'open_sha1_file_alt()' from
'open_sha1_file()', as we will need both of these new
functions too.
Helped-by: Jeff King <p...@peff.net>
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
cache.h | 8
On Thu, Jan 4, 2018 at 9:54 PM, Jeff Hostetler <g...@jeffhostetler.com> wrote:
>
> On 1/3/2018 11:33 AM, Christian Couder wrote:
>>
>> Objects managed by an external ODB should not be put into
>> pack files. They should be transfered using other mechanism
>>
On Thu, Jan 4, 2018 at 8:55 PM, Jeff Hostetler <g...@jeffhostetler.com> wrote:
>
> On 1/3/2018 11:33 AM, Christian Couder wrote:
>>
>> diff --git a/odb-helper.c b/odb-helper.c
>> index 4b70b287af..c1a3443dc7 100644
>> --- a/odb-helper.c
>> +++ b/o
On Sun, Mar 18, 2018 at 11:41 PM, Jacob Keller wrote:
>
> I don't have a good summary yet, but I think a section about the
> discussion regarding the new recreate-merges and rebasing merges
> that's been on going might be useful?
Yeah sure, we would gladly accept a
Hi,
A draft of a new Git Rev News edition is available here:
https://github.com/git/git.github.io/blob/master/rev_news/drafts/edition-37.md
Everyone is welcome to contribute in any section either by editing the
above page on GitHub and sending a pull request, or by commenting on
this GitHub
On Sat, Mar 17, 2018 at 7:26 PM, Ævar Arnfjörð Bjarmason
wrote:
>
> On Sat, Mar 17 2018, Yash Yadav jotted:
>
>> Hello,
>>
>> I am a student going through the GSoC process.
>>
>> In the project ideas listed there is one idea talking of conversion of
>> scripts to builtins. This
Hi,
On Sat, Mar 17, 2018 at 8:14 PM, Alban Gruin wrote:
>
> Weeks 3 & 4 — May 18, 2018 – June 11, 2018
> Then, I would start to rewrite git-rebase--interactive, and get rid of git-
> rebase--helper.
Usually to rewrite a shell script in C, we first rewrite shell
functions
I don't know if this is well known already, but when when I run some
tests using -x on master they consistently fail (while they
consistently pass without -x).
For example:
./t5500-fetch-pack.sh -x
gives: # failed 3 among 353 test(s)
./t0008-ignores.sh -x
gives: # failed 208 among 394 test(s)
On Mon, Feb 26, 2018 at 3:06 PM, Derrick Stolee wrote:
>
> Christian: do you want to submit the patch, or should I put one together?
I'd rather have you put one together.
Thanks,
Christian.
On Mon, Feb 26, 2018 at 10:53 AM, Jeff King <p...@peff.net> wrote:
> On Mon, Feb 26, 2018 at 10:04:22AM +0100, Christian Couder wrote:
>
>> ==21455== Use of uninitialised value of size 8
>> ==21455==at 0x2D2A73: get_hex_char_from_oid (sha1_name.c:492)
>
Hi Derrick,
These days when running:
./t5616-partial-clone.sh --valgrind
on master, I get a bunch of:
==21455== Use of uninitialised value of size 8
==21455==at 0x2D2A73: get_hex_char_from_oid (sha1_name.c:492)
==21455==by 0x2D2AFE: extend_abbrev_len (sha1_name.c:502)
==21455==by
Hi everyone,
The 36th edition of Git Rev News is now published:
https://git.github.io/rev_news/2018/02/21/edition-36/
Thanks a lot to all the contributors!
Enjoy,
Christian, Jakub, Markus and Gabriel.
Hi,
A draft of a new Git Rev News edition is available here:
https://github.com/git/git.github.io/blob/master/rev_news/drafts/edition-36.md
Everyone is welcome to contribute in any section either by editing the
above page on GitHub and sending a pull request, or by commenting on
this GitHub
Hi,
Just a quick message to let everyone know that Git has been accepted
as a mentor organization for the Google Summer of Code 2018.
If anyone wants to mentor or co-mentor, that is still possible. Just
let us know so that we can invite you to register on the GSoC web
site.
Dscho, I just sent
On Tue, Feb 13, 2018 at 1:28 PM, Robert P. J. Day wrote:
>
> p.s. i suspect i should RTFS to see exactly how git bisect does its
> work.
You might want to read https://git-scm.com/docs/git-bisect-lk2009.html
before reading the source code.
On Mon, Feb 12, 2018 at 11:44 AM, Robert P. J. Day
wrote:
> On Fri, 9 Feb 2018, Junio C Hamano wrote:
>
>> "Robert P. J. Day" writes:
>>
>> > i'm confused ... why, after skipping a good chunk in the interval
>> > [v4.13,v4.14], do i still have
On Fri, Feb 9, 2018 at 2:20 PM, Robert P. J. Day wrote:
>
> writing a short tutorial on "git bisect" and, all the details of
> special exit code 125 aside, if one wanted to locate the first
> unbuildable commit, would it be sufficient to just run?
>
> $ git bisect run
It is much easier to diff the output against a previous
one when the fields are sorted.
Helped-by: Philip Oakley <philipoak...@iee.org>
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/perf/aggregate.perl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
The
This makes it easier to use the aggregate script
on the command line when one wants to get the
"environment" fields set in the codespeed output.
Previously setting GIT_REPO_NAME was needed
for this purpose.
Helped-by: Eric Sunshine <sunsh...@sunshineco.com>
Signed-off-by:
This makes it easier to use the aggregate script
on the command line, to get results from
subsections.
Previously setting GIT_PERF_SUBSECTION was needed
for this purpose.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/perf/aggregate.per
On Mon, Jan 29, 2018 at 6:21 PM, Jeff King wrote:
> On Mon, Jan 29, 2018 at 10:33:08AM +0100, Johannes Schindelin wrote:
>
>> I found these sad news in my timeline today:
>>
>> https://twitter.com/cdibona/status/957822400518696960
>
> Thanks for posting this.
Yeah, thanks.
> I
On Sun, Jan 28, 2018 at 8:57 PM, Eric Sunshine wrote:
>
> Not a big deal, but the extra indentation (and noisy diff) could be
> avoided like this:
>
> my $environment;
> if ($reponame) {
> $environment = $reponame;
> } else if (exists ...) {
>
This makes it easier to use the aggregate script
on the command line when one wants to get the
"environment" fields set in the codespeed output.
Previously setting GIT_REPO_NAME was needed
for this purpose.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/perf/agg
This makes it easier to use the aggregate script
on the command line, to get results from
subsections.
Previously setting GIT_PERF_SUBSECTION was needed
for this purpose.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/perf/aggregate.per
It is much easier to diff the output against a preivous
one when the fields are sorted.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/perf/aggregate.perl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/perf/aggregate.perl b/t/perf/aggregate.perl
On Fri, Jan 26, 2018 at 11:32 AM, Оля Тележная <olyatelezhn...@gmail.com> wrote:
> 2018-01-25 23:22 GMT+03:00 Christian Couder <christian.cou...@gmail.com>:
>> On Thu, Jan 25, 2018 at 6:20 PM, Оля Тележная <olyatelezhn...@gmail.com>
>> wrote:
>>> Plea
Hi Olga,
On Thu, Jan 25, 2018 at 6:20 PM, Оля Тележная wrote:
> Hi everyone,
> I haven't sent the code by mailing lists because 25 commits (every
> commit in separate message) look like a spam.
Yeah, so now that you added tests, it might be interesting to see if
the
On Tue, Jan 16, 2018 at 2:46 AM, Gargi Sharma wrote:
> Replace the custom calls to mru.[ch] with calls to list.h. This patch is the
> final step in removing the mru API completely and inlining the logic.
You might want to say that this provides a significant code reduction
On Fri, Jan 19, 2018 at 6:22 PM, Оля Тележная <olyatelezhn...@gmail.com> wrote:
> 2018-01-19 20:14 GMT+03:00 Christian Couder <christian.cou...@gmail.com>:
>> On Thu, Jan 18, 2018 at 7:20 AM, Оля Тележная <olyatelezhn...@gmail.com>
>> wrote:
>>> And anot
On Fri, Jan 19, 2018 at 6:23 PM, Jeff King <p...@peff.net> wrote:
> On Fri, Jan 19, 2018 at 06:14:56PM +0100, Christian Couder wrote:
>
>> > Let's discuss, what behavior we are waiting for
>> > when atom seems useless for the command. Die or ignore?
>>
>>
On Thu, Jan 18, 2018 at 7:20 AM, Оля Тележная <olyatelezhn...@gmail.com> wrote:
> 2018-01-18 1:39 GMT+03:00 Christian Couder <christian.cou...@gmail.com>:
>> On Wed, Jan 17, 2018 at 10:43 PM, Jeff King <p...@peff.net> wrote:
>>> On Tue, Jan 16, 2018 at
On Fri, Jan 19, 2018 at 1:24 PM, Оля Тележная <olyatelezhn...@gmail.com> wrote:
> 2018-01-18 17:23 GMT+03:00 Christian Couder <christian.cou...@gmail.com>:
>> On Thu, Jan 18, 2018 at 12:49 PM, Оля Тележная <olyatelezhn...@gmail.com>
>> wrote:
>>&
On Thu, Jan 18, 2018 at 12:49 PM, Оля Тележная wrote:
> 2018-01-18 9:20 GMT+03:00 Оля Тележная :
>>
>> I think it's important to finish migrating process at first. I mean,
>> now we are preparing and collecting everything in ref-filter, but we
As sha1_file_name() could be performance sensitive, let's
make it faster by using strbuf_addstr() and strbuf_addc()
instead of strbuf_addf().
Helped-by: Derrick Stolee <sto...@gmail.com>
Helped-by: Jeff Hostetler <g...@jeffhostetler.com>
Signed-off-by: Christian Couder <chrisc..
Helped-by: Kevin Daudt <m...@ikke.info>
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
cache.h | 8 +++-
http-walker.c | 6 --
http.c| 16 ++--
sha1_file.c | 38 +-
4 files changed, 42 insertion
On Wed, Jan 10, 2018 at 11:03 PM, Jeff Hostetler wrote:
>
>
> On 1/10/2018 2:57 PM, Junio C Hamano wrote:
>>
>> Jeff Hostetler writes:
>>
>>> On 1/9/2018 6:33 PM, Junio C Hamano wrote:
--
On Thu, Jan 18, 2018 at 7:22 AM, Оля Тележная <olyatelezhn...@gmail.com> wrote:
> 2018-01-18 2:04 GMT+03:00 Christian Couder <christian.cou...@gmail.com>:
>> On Wed, Jan 17, 2018 at 10:49 PM, Jeff King <p...@peff.net> wrote:
>>> On Tue, Jan 16, 2018 at
On Wed, Jan 17, 2018 at 10:49 PM, Jeff King wrote:
> On Tue, Jan 16, 2018 at 10:22:23AM +0300, Оля Тележная wrote:
>
>> >> In other words, I think the endgame is that expand_atom() isn't there at
>> >> all, and we're calling the equivalent of format_ref_item() for each
>> >> object
On Wed, Jan 17, 2018 at 10:43 PM, Jeff King wrote:
> On Tue, Jan 16, 2018 at 09:55:22AM +0300, Оля Тележная wrote:
>
>> > IOW, the progression I'd expect in a series like this is:
>> >
>> > 1. Teach ref-filter.c to support everything that cat-file can do.
>> >
>> > 2. Convert
On Wed, Jan 17, 2018 at 9:37 PM, Jeff Hostetler <g...@jeffhostetler.com> wrote:
>
>
> On 1/17/2018 12:54 PM, Christian Couder wrote:
>>
>> As sha1_file_name() could be performance sensitive, let's
>> try to make it faster by seeding the initial buffer siz
On Tue, Jan 16, 2018 at 8:00 PM, Jeff Hostetler <g...@jeffhostetler.com> wrote:
>
>
> On 1/16/2018 9:01 AM, Derrick Stolee wrote:
>>
>> On 1/16/2018 2:18 AM, Christian Couder wrote:
>>>
>>> Using a static buffer in sha1_file_name() is error prone
Helped-by: Kevin Daudt <m...@ikke.info>
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
cache.h | 8 +++-
http-walker.c | 6 --
http.c| 16 ++--
sha1_file.c | 38 +-
4 files changed, 42 insertion
ler <g...@jeffhostetler.com>
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
sha1_file.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/sha1_file.c b/sha1_file.c
index f66c21b2da..1a94716962 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -323,8 +323
Hi everyone,
The 35th edition of Git Rev News is now published:
https://git.github.io/rev_news/2018/01/17/edition-35/
Thanks a lot to all the contributors!
Enjoy,
Christian, Jakub, Markus and Gabriel.
On Tue, Jan 16, 2018 at 9:08 PM, Stefan Beller wrote:
>
> I'll be fine as a co-mentor this year.
Great!
It looks like you also accepted the invite to be an admin, so we are 3
admins now (Matthieu, you and me), maybe 4 if Dscho joins, so our
application is complete.
We can
On Thu, Jan 4, 2018 at 7:00 PM, Jeff Hostetler <g...@jeffhostetler.com> wrote:
>
>
> On 1/3/2018 11:33 AM, Christian Couder wrote:
>> diff --git a/sha1_file.c b/sha1_file.c
>> index 261baf800f..785e8dda03 100644
>> --- a/sha1_file.c
>> +++ b/sha1_file
Using a static buffer in sha1_file_name() is error prone
and the performance improvements it gives are not needed
in most of the callers.
So let's get rid of this static buffer and, if necessary
or helpful, let's use one in the caller.
---
cache.h | 8 +++-
http-walker.c | 6 --
On Thu, Jan 4, 2018 at 6:44 PM, Jeff Hostetler <g...@jeffhostetler.com> wrote:
>
>
> On 1/3/2018 11:33 AM, Christian Couder wrote:
>>
>> This is implemented only in the promisor remote mode
>> for now by calling fetch_object().
>>
>> Signed-off-
On Thu, Jan 4, 2018 at 8:59 PM, Jeff Hostetler wrote:
>
>> diff --git a/odb-helper.h b/odb-helper.h
>> new file mode 100644
>> index 00..9395e606ce
>> --- /dev/null
>> +++ b/odb-helper.h
>> @@ -0,0 +1,24 @@
>> +#ifndef ODB_HELPER_H
>> +#define ODB_HELPER_H
>> +
>>
Hi,
A draft of a new Git Rev News edition is available here:
https://github.com/git/git.github.io/blob/master/rev_news/drafts/edition-35.md
Everyone is welcome to contribute in any section either by editing the
above page on GitHub and sending a pull request, or by commenting on
this GitHub
On Mon, Jan 8, 2018 at 12:03 AM, Christian Couder
<christian.cou...@gmail.com> wrote:
> On Fri, Jan 5, 2018 at 12:18 PM, Johannes Schindelin
> <johannes.schinde...@gmx.de> wrote:
>> On Fri, 5 Jan 2018, Matthieu Moy wrote:
>>
>>> If we go for it, we need:
Hi,
On Mon, Jan 8, 2018 at 3:45 PM, Yasushi SHOJI wrote:
> Hi all,
>
> Thank you guys for insightful help. I just read the code and now I understand
> what you guys are saying. Yeah, I can say the fix is "spot on".
>
> But, to be honest, it's hard to see why you need
Hi,
On Fri, Jan 5, 2018 at 12:18 PM, Johannes Schindelin
wrote:
> Hi,
>
> On Fri, 5 Jan 2018, Matthieu Moy wrote:
>
>> If we go for it, we need:
>>
>> * Admins
>>
>> * Potential mentors
>
> Count me in as a potential mentor.
I am ok to be admin and mentor.
>> * List
Hi Yasushi,
On Sat, Jan 6, 2018 at 3:27 PM, Yasushi SHOJI wrote:
> best_bisection_sorted() seems to do
>
> - get the commit list along with the number of elements in the list
> - walk the list one by one to check whether a element have TREESAME or not
> - if
Git performance
evolves over time and releases, let's implement a Codespeed output
in "perf/aggregate.perl".
Helped-by: Eric Sunshine <sunsh...@sunshineco.com>
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/pe
As we want to implement another kind of output than
the current output for the perf test results, let's
refactor the existing code that outputs the results
in its own print_default_results() function.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/perf/aggregate.per
Let's make it possible to set in a config file the output
format (regular or codespeed) of the perf tests.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/perf/run | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/t/perf/run b/t/perf/run
index 214d
perf-run-config patch series:
v1: https://public-inbox.org/git/20170713065050.19215-1-chrisc...@tuxfamily.org/
v2:
https://public-inbox.org/git/cap8ufd2j-ufh+9awz91gtz-jusq7euoexmguro59vpf29jx...@mail.gmail.com/
Christian Couder (7):
perf/aggregate: fix checking ENV{GIT_PERF_SUBSECTION}
perf/
The way we check ENV{GIT_PERF_SUBSECTION} could trigger
comparison between undef and "" that may be flagged by
use of strict & warnings. Let's fix that.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/perf/aggregate.perl | 2 +-
1 file changed, 1 insertion(+),
The GIT_PERF_REPO_NAME env variable is used in
the `aggregate.perl` script to set the 'environment'
field in the JSON Codespeed output.
Let's make it easy to set this variable by setting it
in a config file.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/perf/run | 3
On Thu, Jan 4, 2018 at 11:23 PM, Оля Тележная wrote:
>
> So for now 2 of my last commits fail, and I am tired of searching for the
> error.
> I was also trying to leave cat_file_info variable and fill in both new
> and old variables and then compare resulting values by
From: Jonathan Tan
Currently, Git does not support repos with very large numbers of objects
or repos that wish to minimize manipulation of certain blobs (for
example, because they are very large) very well, even if the user
operates mostly on part of the repo, because
From: Jonathan Tan
Teach fsck to not treat refs referring to missing promisor objects as an
error when extensions.partialclone is set.
For the purposes of warning about no default refs, such refs are still
treated as legitimate refs.
Signed-off-by: Jonathan Tan
This new environment variable will be used to perform git
commands without involving any external odb mechanism.
This makes it possible for example to create new blobs that
will not be sent to an external odb even if the external odb
supports "put_*" instructions.
Signed-off-by: Christ
From: Jonathan Tan
Teach fsck to not treat missing promisor objects indirectly pointed to
by refs as an error when extensions.partialclone is set.
Signed-off-by: Jonathan Tan
Signed-off-by: Junio C Hamano
---
This function will be used to check if the external odb
mechanism is actually used.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
external-odb.c | 7 +++
external-odb.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/external-odb.c b/external-odb.c
index 3909
This adds support for the script command mode where
an helper script or command is called to retrieve or
manage objects.
This implements the 'have' and 'get_git_obj'
instructions for the script mode.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
external-odb.c
functions or the external scripts or processes that will
manage and provide external git objects.
For now only infrastructure to create helpers from the
config and to manage a cache for the 'have' command is
implemented.
Helped-by: Jeff King <p...@peff.net>
Signed-off-by: Christia
As there will be different kinds of helpers, let's add
an "enum odb_helper_type" to tell between the different
kinds.
Let's add a field with this type in "struct odb_helper",
and set it when reading the config file.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org
From: Jonathan Tan
Teach fsck to not treat missing promisor objects provided on the CLI as
an error when extensions.partialclone is set.
Signed-off-by: Jonathan Tan
Signed-off-by: Junio C Hamano
---
builtin/fsck.c
variable in struct odb_helper to store them.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
external-odb.c | 13 +++-
odb-helper.c| 54 +
odb-helper.h| 12 +++
t/t0400-external-
split out 'sha1_file_name_alt()' from
'sha1_file_name()' and 'open_sha1_file_alt()' from
'open_sha1_file()', as we will need both of these new
functions too.
Helped-by: Jeff King <p...@peff.net>
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
cache.h | 8
From: Jonathan Tan
Teach gc to stop traversal at promisor objects, and to leave promisor
packfiles alone. This has the effect of only repacking non-promisor
packfiles, and preserves the distinction between promisor packfiles and
non-promisor packfiles.
Signed-off-by:
://public-inbox.org/git/20171019123030.17338-1-chrisc...@tuxfamily.org/
Ben Peart (1):
Add t0450 to test 'get_direct' mechanism
Christian Couder (30):
Add initial external odb support
Add GIT_NO_EXTERNAL_ODB env variable
external-odb: add has_external_odb()
external-odb: implement
To tell which blobs should be sent to the "magic" external odb,
let's require that the blobs be marked using the 'odb=magic'
attribute.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
external-odb.c | 25 ++---
The mechanism to decide which blobs should be sent to which
external object database will be very simple for now.
If the external odb helper support any "put_*" instruction
all the new blobs will be sent to it.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
ex
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/t0410-transfer-e-odb.sh | 144 ++
1 file changed, 144 insertions(+)
create mode 100755 t/t0410-transfer-e-odb.sh
diff --git a/t/t0410-transfer-e-odb.sh b/t/t0410-transfer-e-odb.
by an odb helper. This is not a great
default, but let's leave it to following commits to tweak that.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
external-odb.c | 15 +++
external-odb.h | 2 ++
odb-helper.c | 43 ++-
odb-he
This is implemented only in the promisor remote mode
for now by calling fetch_object().
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
external-odb.c | 15 +++
external-odb.h | 1 +
odb-helper.c | 13 +
odb-helper.h | 3 ++-
4 files chang
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/t0470-read-object-http-e-odb.sh | 109 ++
t/t0470/read-object-plain | 83 +
2 files changed, 192 insertions(+)
create mode 100755 t/t0470-read-object-
This describes the external odb mechanism's purpose and
how it works.
Helped-by: Ben Peart <benpe...@microsoft.com>
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
Documentation/technical/external-odb.txt | 342 +++
1 file changed, 34
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/t0480-read-object-have-http-e-odb.sh | 109 +
t/t0480/read-object-plain-have | 103 +++
2 files changed, 212 insertions(+)
create mode 100755 t/t0480-read-
This adds the infrastructure to handle 'have' instructions in
process mode.
The answer from the helper sub-process should be like the
output in script mode, that is lines like this:
sha1 SPACE size SPACE type NEWLINE
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
odb-he
This adds the infrastructure to send objects to a sub-process
handling the communication with an external odb.
For now we only handle sending raw blobs using the 'put_raw_obj'
instruction.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
odb-helper.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/t0460-read-object-git.sh | 28 +
t/t0460/read-object-git| 78 ++
2 files changed, 106 insertions(+)
create mode 100755 t/t0460-read-object-git.sh
create mode 10
From: Ben Peart <benpe...@microsoft.com>
Signed-off-by: Ben Peart <benpe...@microsoft.com>
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/t0450-read-object.sh | 28 +
t/t0450/read-object| 68 +
This is an apache config file to test external object databases.
It uses the upload.sh and list.sh cgi that have been added
previously to make apache store external objects.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/lib-httpd/apache-e-odb.conf
rs defined using the existing "odb..scriptcommand"
are marked with the 'script_mode' field set to 1.
Implementation of the different capabilities/instructions in
the new (sub-)process mode is left for following commits.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
This makes it possible to start an apache web server with different
config files.
This will be used in a later patch to pass a config file that makes
apache store external objects.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/lib-httpd.sh | 6 --
1 file chan
From: Jonathan Tan
Introduce fetch-object, providing the ability to fetch one object from a
promisor remote.
This uses fetch-pack. To do this, the transport mechanism has been
updated with 2 flags, "from-promisor" to indicate that the resulting
pack comes from a
From: Jonathan Tan
Teach sha1_file to fetch objects from the remote configured in
extensions.partialclone whenever an object is requested but missing.
The fetching of objects can be suppressed through a global variable.
This is used by fsck and index-pack.
However, by
Objects managed by an external ODB should not be put into
pack files. They should be transfered using other mechanism
that can be specific to the external odb.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/pack-objects.c | 4
1 file changed, 4 insertions(+)
me kind of mechanism to "put" objects
into an external odb, where the odb helper would access blobs it
wants to send to an external odb directly from files, but it
would be strange to call that a fault-in mode too.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
e
This cgi will be used to upload objects to, or to delete
objects from, an apache web server.
This way the apache server can work as an external object
database.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
t/lib-httpd.sh| 1 +
t/lib-httpd/upload.s
This cgi script can list Git objects that have been uploaded as
files to an apache web server. This script can also retrieve
the content of each of these files.
This will help make apache work as an external object database.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
301 - 400 of 2901 matches
Mail list logo