List for cgit developers and users
 help / color / mirror / Atom feed
* maintenance release coming soon
@ 2014-02-20 19:10 Jason
  2014-02-20 19:33 ` list
  0 siblings, 1 reply; 8+ messages in thread
From: Jason @ 2014-02-20 19:10 UTC (permalink / raw)


Hey guys,

Last release was huge. A handful of little commits fixing small bugs
has been piling up since our last big feature release. So I think
sometime toward the end of next week, I'm going to release a 0.10.1
for bug fixes. Nothing huge. Nothing with big press releases and
noise. Just something to clean things up. So, if you've got any bug
fixes sitting around in your queue, push them to the top of the
mailing list early next week.

Thanks,
Jason


^ permalink raw reply	[flat|nested] 8+ messages in thread

* maintenance release coming soon
  2014-02-20 19:10 maintenance release coming soon Jason
@ 2014-02-20 19:33 ` list
  2014-02-20 19:35   ` Jason
  2014-02-20 19:48   ` [PATCH 1/1] print download link for reference string length == 1 mail
  0 siblings, 2 replies; 8+ messages in thread
From: list @ 2014-02-20 19:33 UTC (permalink / raw)


"Jason A. Donenfeld" <Jason at zx2c4.com> on Thu, 2014/02/20 20:10:
> Hey guys,
> 
> Last release was huge. A handful of little commits fixing small bugs
> has been piling up since our last big feature release. So I think
> sometime toward the end of next week, I'm going to release a 0.10.1
> for bug fixes. Nothing huge. Nothing with big press releases and
> noise. Just something to clean things up. So, if you've got any bug
> fixes sitting around in your queue, push them to the top of the
> mailing list early next week.

Do you want to go with git 1.9.0 or keep 1.8.5 for this maintenance release?

I think I discovered a bug yesterday, but did not have any time to look into
that. I will return with a patch if I can reproduce.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140220/8853c864/attachment-0001.asc>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* maintenance release coming soon
  2014-02-20 19:33 ` list
@ 2014-02-20 19:35   ` Jason
  2014-02-20 19:57     ` list
  2014-02-20 19:48   ` [PATCH 1/1] print download link for reference string length == 1 mail
  1 sibling, 1 reply; 8+ messages in thread
From: Jason @ 2014-02-20 19:35 UTC (permalink / raw)


On Thu, Feb 20, 2014 at 8:33 PM, Christian Hesse <list at eworm.de> wrote:
>
> Do you want to go with git 1.9.0 or keep 1.8.5 for this maintenance release?

I'd love to pop it up to 1.9.0, as well. AFAIK, nothing drastic
happens, but I haven't looked into it. If you'd like to provide a
patch for that, t'would be much appreciated.

>
> I think I discovered a bug yesterday, but did not have any time to look into
> that. I will return with a patch if I can reproduce.

Oh my, okay. What behavior? I just fixed this bug
<http://git.zx2c4.com/cgit/commit/?id=7e1c0ed2a>... maybe you saw the
same.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/1] print download link for reference string length == 1
  2014-02-20 19:33 ` list
  2014-02-20 19:35   ` Jason
@ 2014-02-20 19:48   ` mail
  2014-02-20 19:58     ` list
  1 sibling, 1 reply; 8+ messages in thread
From: mail @ 2014-02-20 19:48 UTC (permalink / raw)


I have a number of repositories that start tagging with just '1' and
count up. Actually references with sting length of one are skipped, this
patch changes that.
---
 ui-refs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-refs.c b/ui-refs.c
index 147b665..e8e308e 100644
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -105,7 +105,7 @@ static void print_tag_downloads(const struct cgit_repo *repo, const char *ref)
 	const char *basename;
 	int free_ref = 0;
 
-	if (!ref || strlen(ref) < 2)
+	if (!ref || strlen(ref) < 1)
 		return;
 
 	basename = cgit_repobasename(repo->url);
-- 
1.9.0



^ permalink raw reply	[flat|nested] 8+ messages in thread

* maintenance release coming soon
  2014-02-20 19:35   ` Jason
@ 2014-02-20 19:57     ` list
  0 siblings, 0 replies; 8+ messages in thread
From: list @ 2014-02-20 19:57 UTC (permalink / raw)


"Jason A. Donenfeld" <Jason at zx2c4.com> on Thu, 2014/02/20 20:35:
> On Thu, Feb 20, 2014 at 8:33 PM, Christian Hesse <list at eworm.de> wrote:
> >
> > Do you want to go with git 1.9.0 or keep 1.8.5 for this maintenance
> > release?
> 
> I'd love to pop it up to 1.9.0, as well. AFAIK, nothing drastic
> happens, but I haven't looked into it. If you'd like to provide a
> patch for that, t'would be much appreciated.

Sure, just testing some more. Stay tuned.

> > I think I discovered a bug yesterday, but did not have any time to look
> > into that. I will return with a patch if I can reproduce.
> 
> Oh my, okay. What behavior? I just fixed this bug
> <http://git.zx2c4.com/cgit/commit/?id=7e1c0ed2a>... maybe you saw the
> same.

No, the patch has made its way to the mailing list already. ;)
I will reply there.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140220/22ea5ec2/attachment.asc>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/1] print download link for reference string length == 1
  2014-02-20 19:48   ` [PATCH 1/1] print download link for reference string length == 1 mail
@ 2014-02-20 19:58     ` list
  2014-02-20 20:15       ` cgit
  0 siblings, 1 reply; 8+ messages in thread
From: list @ 2014-02-20 19:58 UTC (permalink / raw)


Christian Hesse <mail at eworm.de> on Thu, 2014/02/20 20:48:
> I have a number of repositories that start tagging with just '1' and
> count up. Actually references with sting length of one are skipped, this
> patch changes that.

Wondering if there was a good reason to use a minimum string length of two...
Can my patch break anything? As far as I can tell is works without problems
for me.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140220/c67ec3cd/attachment.asc>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/1] print download link for reference string length == 1
  2014-02-20 19:58     ` list
@ 2014-02-20 20:15       ` cgit
  2014-02-21  0:41         ` Jason
  0 siblings, 1 reply; 8+ messages in thread
From: cgit @ 2014-02-20 20:15 UTC (permalink / raw)


On Thu, 20 Feb 2014 at 20:58:53, Christian Hesse wrote:
> Christian Hesse <mail at eworm.de> on Thu, 2014/02/20 20:48:
> > I have a number of repositories that start tagging with just '1' and
> > count up. Actually references with sting length of one are skipped, this
> > patch changes that.
> 
> Wondering if there was a good reason to use a minimum string length of two...
> Can my patch break anything? As far as I can tell is works without problems
> for me.

I can only guess because this code was added when the function was
introduced in commit 65962685 (ui-refs.c: show download links for all
tags referring to commit objects, 2008-12-01). I think it is related to
the code below accessing ref[1], though. I don't see how anything could
go wrong when the string length is 1 since isdigit('\0') should return
0 in that case. +1 from me.

> -- 
> main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
> "CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
> putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
> 
> 
> _______________________________________________
> CGit mailing list
> CGit at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/cgit


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/1] print download link for reference string length == 1
  2014-02-20 20:15       ` cgit
@ 2014-02-21  0:41         ` Jason
  0 siblings, 0 replies; 8+ messages in thread
From: Jason @ 2014-02-21  0:41 UTC (permalink / raw)


Lukas' analysis seems correct to me. Merging.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-02-21  0:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 19:10 maintenance release coming soon Jason
2014-02-20 19:33 ` list
2014-02-20 19:35   ` Jason
2014-02-20 19:57     ` list
2014-02-20 19:48   ` [PATCH 1/1] print download link for reference string length == 1 mail
2014-02-20 19:58     ` list
2014-02-20 20:15       ` cgit
2014-02-21  0:41         ` Jason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).