Sourceforge report generator

General talk about packaging procedures and packages.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Sourceforge report generator

Post by Shador »

Just updated to version 1.2. I did not just take JRD's version as I wasn't completely happy about it. I couldn't have generated 32 and 64 bit reports on one machine. So I implemented it a bit differently with multiple guessing methods one of which is JRDs. For now there are only two. One extracts a comment from the SLKBUILD and uses that one, the other one is JRD's uname -m solution. The priority is also in exactly this order. So if comment fails, uname -m is used instead which should never fail.
Image
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Sourceforge report generator

Post by laprjns »

Shador wrote:Just updated to version 1.2. I.
Are there some lines missing at the bottom of the 1.2 script? When I run the copied script I get the following:

Code: Select all

rich[1.2.1]$ slkbuild-postgen system-config-printer-1.2.1-i486-1rj.txz 
/home/rich/bin/slkbuild-postgen: line 156: syntax error: unexpected end of file
rich[1.2.1]$ 
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Sourceforge report generator

Post by Shador »

That's weird I just downloaded a new copy and tested it without any problems.
Although you should pass either the SLKBUILD or the directory containing it instead of the package as argument, it shouldn't cause this error and it doesn't here.
However as specifiying an invalid file causes kind of garbled output, I uploaded a new version (1.2.1), which checks for this. I also uploaded md5sums so you can check whether you properly downloaded it.
Image
jbs1136
Posts: 75
Joined: 5. Apr 2010, 16:21
Location: Washington

Re: Sourceforge report generator

Post by jbs1136 »

When I clicked on the link and downloaded it missed some code, so I opened the link in a new tab, copied all and saved in mousepad. Everything was there.

john
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Sourceforge report generator

Post by Shador »

It seems like a problem with the server. Sometimes it only sends part of the page. Maybe I can fix it with a upgrade.
Image
User avatar
icaroperseo
Donor
Posts: 67
Joined: 19. Nov 2014, 01:12
Contact:

Re: Sourceforge report generator

Post by icaroperseo »

Does anyone still have this script through her/his stuff? It seems that the website is down.

In that case, It may also be a good idea to update the wiki: http://docs.salixos.org/wiki/index.php/ ... repository
Image

Image
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Sourceforge report generator

Post by laprjns »

Here's a copy of what I've been using;
http://people.salixos.org/laprjns/slkbuild-postgen/
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
icaroperseo
Donor
Posts: 67
Joined: 19. Nov 2014, 01:12
Contact:

Re: Sourceforge report generator

Post by icaroperseo »

laprjns wrote:Here's a copy of what I've been using;
http://people.salixos.org/laprjns/slkbuild-postgen/
Thanks a lot, seems very usefull.
Image

Image
Post Reply