Re: Media wiki extension for handling Ogg

2009-08-18 Thread Mike McGrath

On Mon, 17 Aug 2009, Rahul Sundaram wrote:

> Hi,
>
> It would be useful to stream Ogg Theora videos directly from the wiki
> inorder to demonstrate new features. What are the options available for
> this and is any of them being deployed in Fedora infrastructure?
>

I assume you're talking about
http://www.mediawiki.org/wiki/Extension:OggHandler.  It'd need to get
packaged and we'd probably have to come up with some rules about the video
sizes and how long we keep them as to not overload our servers.

-Mike

-- 
Fedora-websites-list mailing list
Fedora-websites-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-websites-list


Re: Updating the mail notification hook used for the fedora-web git repository

2009-08-18 Thread Ricky Zhou
On 2009-08-16 07:10:52 PM, Todd Zullinger wrote:
> I was thinking about updating the mail notification hooks used in the
> fedora-web git repository.  We switched the infrastructure puppet
> repository to these a month or so back and they have worked well.  The
> output is a bit nicer than the current hook and it is called from the
> proper place (the post-receive hook rather than the update hook that
> is currently (ab)used for this).
> 
> Partly, I'd like to convert things so we can get wider testing of the
> newer hook scripts, with an eye toward eventually converting most of
> the other hosted repositories to these scripts.  To that end, I
> whipped up a short shell script to do the dirty work:
> 
> http://dpaste.com/hold/81486/
> 
> The script is also at ~tmz/bin/git-mail-hook-update on hosted1.
> 
> I also noticed while looking at the config file for fedora-web.git (on
> hosted1) that we don't have receive.denyNonFastForwards set.  This
> might be something good to enable.  It prevents pushing updates that
> are not fast forwards, even if the --force option to push is used.
> 
> This option is set when initializing a shared repository.  I think
> that when the fedora-web git repo was setup on fedorahosted.org that
> it was not created as a shared repository.  Either that or it was done
> so long ago that the git version in use did not do this by default.
> 
> My bet is on the former, as the config also has 'bare = false' and
> some other options that are not typically set when creating a bare,
> shared, repository -- like having branch and remote settings.
> 
> So with permission, I'd also like to update the config file to look
> like this (as well as adding the hooks.mailinglist setting):
> 
> [core]
> repositoryformatversion = 0
> filemode = true
> bare = true
> sharedrepository = 1
> [receive]
> denyNonFastforwards = true
> 
> The diff with the current config is:
> 
> --- /git/fedora-web.git/config~   2009-01-08 21:19:38.0 +
> +++ /git/fedora-web.git/config2009-08-16 22:05:51.0 +
> @@ -1,12 +1,7 @@
>  [core]
>   repositoryformatversion = 0
>   filemode = true
> - bare = false
> - logallrefupdates = true
> + bare = true
>   sharedrepository = 1
> -[remote "origin"]
> - url = /git/fedora-web.git
> - fetch = +refs/heads/*:refs/remotes/origin/*
> -[branch "master"]
> - remote = origin
> - merge = refs/heads/master
> +[receive]
> + denyNonFastforwards = true
> 
> Sound good?
Sounds good to me - feel free to make all the change mentioned, and
thanks for checking all of this out!

Thanks,
Ricky


pgpd9osLdqWCO.pgp
Description: PGP signature
-- 
Fedora-websites-list mailing list
Fedora-websites-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-websites-list


Re: Media wiki extension for handling Ogg

2009-08-18 Thread Nicu Buculei
On 08/18/2009 06:06 PM, Mike McGrath wrote:
> On Mon, 17 Aug 2009, Rahul Sundaram wrote:
>>
>> It would be useful to stream Ogg Theora videos directly from the wiki
>> inorder to demonstrate new features. What are the options available for
>> this and is any of them being deployed in Fedora infrastructure?
> 
> I assume you're talking about
> http://www.mediawiki.org/wiki/Extension:OggHandler.  It'd need to get
> packaged and we'd probably have to come up with some rules about the video
> sizes and how long we keep them as to not overload our servers.

I agree about size rules but I don't like the idea of deleting: deleting
part of release notes for old releases would be like deleting our history.

Are you concerned about disk space or bandwidth consumption? Disk space
can be addressed by having rules for upload size and the bandwidth
consumption should not be big for old releases, with only a few visitors.

Maybe archive old videos in external sources?

-- 
nicu :: http://nicubunu.ro :: http://nicubunu.blogspot.com/

-- 
Fedora-websites-list mailing list
Fedora-websites-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-websites-list


Re: Media wiki extension for handling Ogg

2009-08-18 Thread Mike McGrath
On Tue, 18 Aug 2009, Nicu Buculei wrote:

> On 08/18/2009 06:06 PM, Mike McGrath wrote:
> > On Mon, 17 Aug 2009, Rahul Sundaram wrote:
> >>
> >> It would be useful to stream Ogg Theora videos directly from the wiki
> >> inorder to demonstrate new features. What are the options available for
> >> this and is any of them being deployed in Fedora infrastructure?
> >
> > I assume you're talking about
> > http://www.mediawiki.org/wiki/Extension:OggHandler.  It'd need to get
> > packaged and we'd probably have to come up with some rules about the video
> > sizes and how long we keep them as to not overload our servers.
>
> I agree about size rules but I don't like the idea of deleting: deleting
> part of release notes for old releases would be like deleting our history.
>

Would you really care about a FC3 screen cast?

> Are you concerned about disk space or bandwidth consumption? Disk space
> can be addressed by having rules for upload size and the bandwidth
> consumption should not be big for old releases, with only a few visitors.
>
> Maybe archive old videos in external sources?
>

I just don't like "keep everything forever" that's not a plan, it's a
mistake.  And people make it a lot.  Most people think they want it
because they don't have to live with the consequences.  I do.

-Mike

-- 
Fedora-websites-list mailing list
Fedora-websites-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-websites-list


Re: Media wiki extension for handling Ogg

2009-08-18 Thread Nicu Buculei
On 08/18/2009 07:15 PM, Mike McGrath wrote:
> 
> Would you really care about a FC3 screen cast?

Actually a couple of weeks ago I needed for a project the wallpapers
from old release (going to FC1) and was very useful to find the archives
with RPMs.

Not exactly FC3, but I searched for stuff in the release notes around
FC6. If the release notes link to screencasts, it would be ugly to have
broken links.

Also, deleting, we may break existing links which are outside our
control, like reviews or blogs.

-- 
nicu :: http://nicubunu.ro :: http://nicubunu.blogspot.com/

-- 
Fedora-websites-list mailing list
Fedora-websites-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-websites-list