On 11 May 2012 16:28, Michael Creel <michael.cr...@uab.es> wrote:
> On Fri, May 11, 2012 at 1:47 PM, Carnë Draug <carandraug+...@gmail.com> wrote:
>> On 11 May 2012 12:32, Levente Torok <torok...@gmail.com> wrote:
>>> On Fri, May 11, 2012 at 1:22 PM, Carnë Draug <carandraug+...@gmail.com> 
>>> wrote:
>>>> On 11 May 2012 07:59, Levente Torok <torok...@gmail.com> wrote:
>>>>> I wanted to analyze gmm_exampe.m from econometrics package recently
>>>>> installed but I found that it called a lot of deprecated functions.
>>>>> I tracked them and replaced. Now it seems to be working.
>>>>> I wish I could submit these modifications back to the package sources
>>>>> but as I see I cannot find the way to patch it in the svn tree where I
>>>>> found several versions of the corresponding file so I'd rather not to
>>>>> touch it
>>>>> instead I thought I share these modifications. I hope someone can put
>>>>> it the package
>>>>>
>>>>> gmm_example.m:
>>>>>    replace call of poisson_rnd with poissrnd
>>>>>    str2mat call str2mat with char
>>>>>
>>>>> poisson_moments.m :
>>>>>    replace call of dmult.m with diag(A)*B
>>>>>
>>>>> scale_data.m:
>>>>>    replace call of dmult.m with diag(A)*B
>>>>>
>>>>> gmm_results.m
>>>>>    replace call of str2mat with char
>>>>>    chisquare_cdf with chi2cdf
>>>>>    normal_cdf with normcdf
>>>>>
>>>>> poisson_moments.m:
>>>>>    replace call of dmult.m with diag(A)*B
>>>>>
>>>>> unscale_parameters.m
>>>>>    replace call of nth with {1}{2}
>>>>
>>>> this is the wrong mailing list. Octave packages belong to octave-forge
>>>> so bugs should be reported there.
>>>>
>>>> All the problems you mentioned have already been fixed on the
>>>> development version (that's why you couldn't patch against the SVN
>>>> tree) we just need someone to make a new release of the package.
>>>>
>>>
>>> I see. Thanks. It was kind of a problematic stuff to me.
>>> Wouldn't it be possible to keep forge and octave in sync?
>>> I mean I would let someone install forge package unless it is
>>> absolutely sure that it will function with the installed octave
>>> version.
>>
>> Yes, it's possible and there's more who would like that to happen.
>> Unfortunately, there's no one around with the means to put something
>> like that in place.
>>
> About OF package releases, I haven't kept up
> with how that works.

It's quite simple and explained in http://octave.sourceforge.net/developers.html

Basically, cd into main/econometrics and run

svn log -v -r HEAD:{yyyy-mm-dd}

with the date from last release. This will generate a list of commits
since the last release. Write them in a NEWS file. Update the version
number and date on DESCRIPTION. Then

svn export ../econometrics ~/econometrics
cd ~

make sure to remove all .svnignore and othr things not necessary in
econometrics/

tar czf econometrics-x.y.z.tar.gz econometrics/

install the package you just generated and generate the documentation
pkg install -forge generate_html;
pkg load generate_html;
generate_package_html ('econometrics', 'econometrics-html', 'octave-forge');

Then exit octave prompt and

tar czf econometrics-html.tar.gz econometrics-html/

That's it. Upload both files to the forum and I'll upload them to the server.

Carnë

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to