Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100687 - Can´ t commit gif & tar files
Summary: Can´ t commit gif & tar files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 100538
  Show dependency tree
 
Reported: 2005-07-29 04:15 UTC by Xavier Neys (RETIRED)
Modified: 2005-08-01 10:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Neys (RETIRED) gentoo-dev 2005-07-29 04:15:16 UTC
Could we be allowed to commit .gif and .tar.gz (or .tgz)?


Reminder: add types in CVSROOT/checkxml.pl

=~ /((\.(xml|xsl|txt|pdf|html|rdf|dtd|log|sxi|css|png|jpg))|changelog)$/i ) {
...
print "Allowed filetypes are:\n";
print "xml|xsl|txt|pdf|html|rdf|dtd|log|sxi|css|png|jpg and changelog\n\n";
Comment 1 Kurt Lieber (RETIRED) gentoo-dev 2005-07-29 06:06:36 UTC
On the tarballs....any reason we couldn't continue to leverage our mirror
infrastructure?  With a few exceptions, all of our tarballs are distributed from
there since it has much better bandwidth, availability and scalability.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-29 11:58:00 UTC
Why don't you `emerge gif2png`?
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2005-07-30 02:30:20 UTC
We already have gif pics on our site and they do have advantages over png/jpg in
some cases.

Look at the blocked bug. We are reformatting and hosting previously published
articles (Bug 95661). We have been allowed to and we do not alter the content of
those articles. The Posix articles have a gif and a small tar with code samples.
Those belong to the articles, we simply need to publish them all together.

Comment 4 Lars Weiler (RETIRED) gentoo-dev 2005-07-30 04:41:03 UTC
gifs are allowed now.  And for tar-files, take Kurt's statement in comment #1.
Comment 5 Xavier Neys (RETIRED) gentoo-dev 2005-07-30 05:00:19 UTC
(In reply to comment #1)
> On the tarballs....any reason we couldn't continue to leverage our mirror
> infrastructure?  With a few exceptions, all of our tarballs are distributed from
> there since it has much better bandwidth, availability and scalability.

Fair enough.
Where do we put the tarball that belongs to that article?
How do we put it there?
How do we make sure it stays there?
Comment 6 Kurt Lieber (RETIRED) gentoo-dev 2005-08-01 07:21:15 UTC
I'm not opposed to distributing tarballs from www.g.o, but I want to make sure
they're very limited and only for things specifically related to the web site.

Lars, is there any easy way to allow tarballs to only be committed to a specific
directory?  gentoo/xml/htdocs/downloads/ or something?  Then we can at least
easily track what is stored there.
Comment 7 Lars Weiler (RETIRED) gentoo-dev 2005-08-01 09:02:37 UTC
(In reply to comment #6)
> Lars, is there any easy way to allow tarballs to only be committed to a specific
> directory?  gentoo/xml/htdocs/downloads/ or something?  Then we can at least
> easily track what is stored there.

It would be the easiest way to place tar-balls on the webpage, but storing them
in CVS is something it has not been designed for...

And I oppose to add them into the [gentoo] repository.  Let's create a separate
one, so that devs with a bad connection don't whine that they have to download
large tar-balls during an cvs up.
Comment 8 Shyam Mani (RETIRED) gentoo-dev 2005-08-01 09:08:59 UTC
(In reply to comment #7)
> And I oppose to add them into the [gentoo] repository.  Let's create a separate
> one, so that devs with a bad connection don't whine that they have to download
> large tar-balls during an cvs up.

Consider them like files for an ebuild. Any tarball bigger than 20-50k shouldn't
be here....and I don't expect we'll have many of these. IMHO, why create
something seperate for this? You could maybe restrict commit access to only
docdevs and we'll check internally to ensure nothing bigger than the limit gets
pushed?

Of course, infra's call...thought I'd put my 2 cents worth.
Comment 9 Xavier Neys (RETIRED) gentoo-dev 2005-08-01 09:59:02 UTC
(In reply to comment #7)
> It would be the easiest way to place tar-balls on the webpage, but storing them
> in CVS is something it has not been designed for...

I don't give a toss whether the file is in CVS or not.
All we need is to publish that file with the article, link it from the article,
be sure it will stay wherever it's been put and forget about it.
Feel free to give me another way to put a file on www.g.o

> And I oppose to add them into the [gentoo] repository.  Let's create a separate
> one, so that devs with a bad connection don't whine that they have to download
> large tar-balls during an cvs up.

Another repository that the web nodes have to sync? For one file? 
You realise we're talking about a 3 Kbytes file that is not going to change?
If you're so much worried about others abusing this, just restrict tarballs to
/doc/en/files and even add an extra check on size<5K if you feel like it.
Comment 10 Lars Weiler (RETIRED) gentoo-dev 2005-08-01 10:41:53 UTC
(In reply to comment #9)
> Another repository that the web nodes have to sync? For one file? 
> You realise we're talking about a 3 Kbytes file that is not going to change?
> If you're so much worried about others abusing this, just restrict tarballs to
> /doc/en/files and even add an extra check on size<5K if you feel like it.

Your request sounded like adding a lot of tar-balls with a huge size.  How
should I guess what you want to add?

Go forward and commit.