FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 11-05-2010, 01:31 AM
Eric Zhong
 
Default how to use mash update ?

I can use mash to get all packages from koji with "mash dist-fc13"
When i have a new build , i don't┬* want to reget all packages form koji , i just want to get the package like update .
can mash do that?

How to use mash to get update packages?

How to use these options below ,and What is their purpose´╝č

┬* -p PREVIOUS, --previous=PREVIOUS

┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬* previous mash run to use as basis for createrepo
┬* -d DELTA, --delta=DELTA
┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬*┬* previous directory to use for deltarpm creation

I can't find docs for mash, ^-^


Thanks

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 11-05-2010, 02:00 AM
Bill Nottingham
 
Default how to use mash update ?

Eric Zhong (ericiszhongwenjia@gmail.com) said:
> I can use mash to get all packages from koji with "mash dist-fc13"
> When i have a new build , i don't want to reget all packages form koji , i
> just want to get the package like update .
> can mash do that?

Sure. Given that updates go to dist-f13-updates-candidate, etc., you
probably want to be using that.

> How to use these options below ,and What is their purpose´╝č
>
> -p PREVIOUS, --previous=PREVIOUS
> previous mash run to use as basis for createrep

This directory specifies where it copies prior metadata from, to speed
up metadata creation.

> -d DELTA, --delta=DELTA
> previous directory to use for deltarpm creation

This specifies what mash creates deltas against. (It defaults to whatever
you set '-p' to.)

What are you trying to use mash for, in general? It's sort of a
special-purpose tool.

Bill




>
> I can't find docs for mash, ^-^
>
> Thanks

> --
> buildsys mailing list
> buildsys@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 11-05-2010, 02:21 AM
Eric Zhong
 
Default how to use mash update ?

Thanks for your reply.

but i don't understand the "delta" too, and how to use this option ,┬* is it┬* "mash -d dist-fc13"┬* ?

I am building my own distribution, so i use koji to build srpms.

and then i want to extract pkgs from koji with mash.

but when i use "mash xxx ", it will delete old mash dir and get all pkgs then createrepo again.
when i have some new builds in koji ,i only want to extract these new pkgs to the old repo, not redo mash again.

It will waste too much time.



2010/11/5 Bill Nottingham <notting@redhat.com>

Eric Zhong (ericiszhongwenjia@gmail.com) said:

> I can use mash to get all packages from koji with "mash dist-fc13"

> When i have a new build , i don't ┬*want to reget all packages form koji , i

> just want to get the package like update .

> can mash do that?



Sure. Given that updates go to dist-f13-updates-candidate, etc., you

probably want to be using that.



> How to use these options below ,and What is their purpose´╝č

>

> ┬* -p PREVIOUS, --previous=PREVIOUS

> ┬* ┬* ┬* ┬* ┬* ┬* ┬* ┬* ┬* ┬* ┬* ┬* previous mash run to use as basis for createrep



This directory specifies where it copies prior metadata from, to speed

up metadata creation.



> ┬* -d DELTA, --delta=DELTA

> ┬* ┬* ┬* ┬* ┬* ┬* ┬* ┬* ┬* ┬* ┬* ┬* previous directory to use for deltarpm creation



This specifies what mash creates deltas against. (It defaults to whatever

you set '-p' to.)



What are you trying to use mash for, in general? It's sort of a

special-purpose tool.



Bill









>

> I can't find docs for mash, ^-^

>

> Thanks



> --

> buildsys mailing list

> buildsys@lists.fedoraproject.org

> https://admin.fedoraproject.org/mailman/listinfo/buildsys



--

buildsys mailing list

buildsys@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/buildsys

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 11-05-2010, 02:25 AM
Bill Nottingham
 
Default how to use mash update ?

Eric Zhong (ericiszhongwenjia@gmail.com) said:
> but i don't understand the "delta" too, and how to use this option , is it
> "mash -d dist-fc13" ?

It's for creating deltarpms. If you don't know what those are,
don't worry about it.

> but when i use "mash xxx ", it will delete old mash dir and get all pkgs
> then createrepo again.

Right, that's the intention. It does create/use a cache in
/var/cache/mash, assuming that's writable by the mashing user.

Bill
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 11-05-2010, 02:32 AM
Eric Zhong
 
Default how to use mash update ?

sorry, my english is poor.
so, can i update the new pkgs from koji to mash old dir ,* but not re-extract all pkgs by old cmd "mash xxx" ?

2010/11/5 Bill Nottingham <notting@redhat.com>

Eric Zhong (ericiszhongwenjia@gmail.com) said:


> but i don't understand the "delta" too, and how to use this option , *is it

> "mash -d dist-fc13" *?



It's for creating deltarpms. If you don't know what those are,

don't worry about it.



> but when i use "mash xxx ", it will delete old mash dir and get all pkgs

> then createrepo again.



Right, that's the intention. It does create/use a cache in

/var/cache/mash, assuming that's writable by the mashing user.



Bill

--

buildsys mailing list

buildsys@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/buildsys



--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 11-05-2010, 02:44 AM
Bill Nottingham
 
Default how to use mash update ?

Eric Zhong (ericiszhongwenjia@gmail.com) said:
> so, can i update the new pkgs from koji to mash old dir , but not
> re-extract all pkgs by old cmd "mash xxx" ?

As I said, it's intentional that it creates a new repo each time; you can't
change this. You can use the caching feature to cut down on bandwidth use.

Bill
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 05:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ę2007 - 2008, www.linux-archive.org