ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ildar Mulyukov <ildar@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>,
	ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [devel] Lua and LuaRocks / Lua по-новому
Date: Wed, 12 Jan 2011 10:34:30 +0600
Message-ID: <1294806870.2518.1@ildar.innovations.kz> (raw)

[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]

Кросспост! Отвечать только в один список рассылки!

	Уважаемые коллеги!
представляю Вашему вниманию обновлённое видение на Lua-хозяйство:  
http://git.altlinux.org/tasks/36679/

1. Вводится понятие модуля, аналогичного модулям python, perl и т.п.  
Теперь у нас будут lua-module-luaposix и т.п.
2. Модули собираются из т.н. "булыжников" LuaRocks.
3. Модули собираются вручную, но представлены инструменты для создания  
SPEC-файла (см. вложение). Далее spec надо довести до собираемого  
состояния. Набив руку, модуль можно собрать "с нуля" за две минуты.
4. Модули LuaRocks имеют свою систему зависимостей. Но это не отменяет  
зависимости RPM, необходимые для целостности репозитария.
Вводятся зависимости вида luarocks(_mod_name_) = %version . Пока эти  
зависимости автоматически не вычисляются.

Предлагаю заинтересованным ознакомиться с тем, что собрано. Для особо  
заинтересованных замечу, что могу влить ещё полтора десятка модулей, в  
т.ч. Sputnik (http://spu.tnik.org/)

Жду комментариев и предложений.

С уважением,
	Ильдар.
-- 
Ildar Mulyukov,
   free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
Jabber: ildar.mulyukov@gmail.com
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================

[-- Attachment #2: Type: message/rfc822, Size: 2232 bytes --]

From: Ildar Mulyukov <ildar@users.sourceforge.net>
To: LuaRocks developers list <luarocks-developers@lists.luaforge.net>
Subject: LuaRocks into a Linux distribution
Date: Tue, 11 Jan 2011 20:36:52 +0600
Message-ID: <1294756612.2518.0@ildar.innovations.kz>

	Hello, colleagues.

I'd like to introduce my work that I've done during the last holidays.

0. Aim: make Rocks available in a Linux distro (ALTLinux for the moment)

1. Overview: Use luarocks and a corresponding rockspec to create a  
package (RPM for the moment), containing the Rock. That would make a  
heap of Rocks installable in ordinary ways to users, e.g.:
   apt-get install sputnik
would install sputnik rock and all dependencies.

2. HOW: I've wrote an utility (1) which is a preprocessor. It takes a  
rockspec and substitutes its values into a template. Step-by-step howto  
is there: (2)

3. The result: several packages made: luarocks and a few rocks, called  
lua-module-xxxxx. (3)

4. A lot more Rocks are ready to be built: (4). Note: there are  
rockspec fixes there as patches.

If someone is interested, please contact me here or privately.
Best regards,
	Ildar
(1) http://git.altlinux.org/people/ildar/public/lrimport.git
(2)  
http://git.altlinux.org/people/ildar/public/?p=lrimport.git;a=blob;f=README;h=a059512fe8f5e3480689d82d733a22735a7bb645;hb=968b7e21c73d24dfc2850eadbc176a5781df3fca
(3) http://git.altlinux.org/tasks/36679/
(4) http://git.altlinux.org/people/ildar/public/?p=rocks.git;a=tree
-- 
Ildar  Mulyukov,  free SW designer/programmer
================================================
email: ildar@users.sourceforge.net
home: http://johan-notes.blogspot.com/
ALT Linux Sisyphus
================================================

             reply	other threads:[~2011-01-12  4:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12  4:34 Ildar Mulyukov [this message]
2011-01-14 18:21 ` Ildar Mulyukov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1294806870.2518.1@ildar.innovations.kz \
    --to=ildar@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git