Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Adding repos to Cliki
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
szergling  
View profile  
 More options Oct 29, 8:05 pm
Newsgroups: comp.lang.lisp
From: szergling <senatorzergl...@gmail.com>
Date: Thu, 29 Oct 2009 02:05:47 -0700 (PDT)
Local: Thurs, Oct 29 2009 8:05 pm
Subject: Adding repos to Cliki

Hi all,

Just had a thought. asdf-install currently obtains a link to what it
needs to download via cliki. It is common now for most software to be
obtained via a (often distributed) version control repository. How
about if we add the paths to the relevant repos on the cliki page too,
just like the current tag for tarballs:

:(package "http://...url...")

I'm not sure what an appropriate syntax would be, or if we need to
modify cliki, but some agreement between producer and consumer of this
data would be nice (but not required, indeed, I have no idea what to
do with this yet). I'm sure the uses will come: there're a whole host
of module/build/dependency-tracker etc programs that are incubating in
the Lisp world today...

How about one of more of the following tags, to be used in parallel
with :(package "..."), eg:

:(darcs "http://...url...")

darcs git hg cvs svn bzr arch(or tla?)

A consumer for this data would then need to know the appropriate
version control commands, eg "darcs get", or "git clone", etc.

I don't really know of a nice way to automate this as yet, but that
could probably help too... an automatic or semi-automatic (with manual
oversight) way sounds most promising.

What do you all think? Any thoughts?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tamas K Papp  
View profile  
 More options Oct 30, 12:19 am
Newsgroups: comp.lang.lisp
From: Tamas K Papp <tkp...@gmail.com>
Date: 29 Oct 2009 13:19:42 GMT
Local: Fri, Oct 30 2009 12:19 am
Subject: Re: Adding repos to Cliki

I like the idea very much, especially when I consider clbuild, which
now has a file that provides the library->url mapping.  If we could
make this automagical and centralized on cliki.net, that would be
great.

I would suggest that you talk to the clbuild folks and see what they
say on how they could use this information best.

Thanks for proposing this,

Tamas


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pascal J. Bourguignon  
View profile  
 More options Oct 30, 12:29 am
Newsgroups: comp.lang.lisp
From: p...@informatimago.com (Pascal J. Bourguignon)
Date: Thu, 29 Oct 2009 14:29:55 +0100
Local: Fri, Oct 30 2009 12:29 am
Subject: Re: Adding repos to Cliki

szergling <senatorzergl...@gmail.com> writes:
> :(darcs "http://...url...")
> What do you all think? Any thoughts?

Not a bad idea.

What about versions too?  

(:version "1.0" :package "ftp://lisp.com/packages/my-package-1.0.tar.bz")
(:version "1.1" :package "ftp://lisp.com/packages/my-package-1.111.tar.bz")

So we could also map versions to 'tags' for repositories:

(:version "1.0" :darcs "1_0")
(:version "1.1" :darcs "1_1_good")

--
__Pascal Bourguignon__


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
szergling  
View profile  
 More options Nov 2, 4:33 pm
Newsgroups: comp.lang.lisp
From: szergling <senatorzergl...@gmail.com>
Date: Sun, 1 Nov 2009 21:33:45 -0800 (PST)
Local: Mon, Nov 2 2009 4:33 pm
Subject: Re: Adding repos to Cliki
Quick updates and notes:

Tamas, Thanks for the hint on clbuild. I have never really used it in
fact. Pascal B's idea for versioning info sounds like there'll need to
be a (laborious?) change to the cliki page every time something is
released. I'm beginning to think cliki might not be the right place
for this? Not sure...

I've had a quick looked into cliki. In the sandbox eg, trying new tags
result in errors (unsupported):

[unrecognised GIT keyword occurred here: args
("http://repo.or.cz/w/cl-zmq.git")] [unrecognised VERSION keyword
occurred here: args ("1.0" "some-git-tag")]

[unrecognised RANDOM keyword occurred here: args ("test")]

This is because only certain keywords are allowed. They are
eql specialised by html-for-keyword (cliki's view.lisp):

(defmethod html-for-keyword ((cliki cliki-view) stream
                             (keyword (eql :package))
                             &rest args)
  ...)

(defmethod html-for-keyword ((cliki cliki-view) stream
                             (keyword (eql :download))
                             &rest args)
  (destructuring-bind (name &key (from :unknown) &allow-other-keys)
args
    (html-for-download-link cliki stream from name)))

All in all, in view.lisp, there are 9 possible keywords defined:

:error :topic :link :legacy-
search :search :clhs :cclan :download :package

I'm not sure what the status of cliki (the code) is unfortunately.

Description of url links should probably NOT be hard coded absolute
paths, since there may be different protocol types, (git://, http://,
https://, darcs://, ssh://, ftp://? etc), relative links, and mirrors,
so a first class URL representation (a bit like pathnames, but one
that doesn't suck) might be best? Best to be PRINT-able and READ-able
too.

Directory information, I've found quite a few isolated/distributed
mirrors or repositories:

loliveira's darcs mirror at
http://common-lisp.net/~loliveira/ediware/

A similar clbuild's darcs mirror at
http://common-lisp.net/project/clbuild/mirror/

common-lisp.net mirror at (git only? (for now?))
http://common-lisp.net/project/mirror/git/

clbuild's wnpp-projects

Git public mirrors or repos

http://repo.or.cz/w?by_tag=lisp

http://github.com/languages/Common%20Lisp/updated

Other methods, harder to extract urls:

Various Gentoo mirror examples. Grepping shell scripts? Uggh
http://mirror.qubenet.net/mirror/gentoo-portage/dev-lisp/
http://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-x86-portage/d...

Crawl common-lisp.net itself
http://common-lisp.net/projects.shtml

Does anyone have any more links to add to this list?

I'm not sure what I wanted to do really, just randomly exploring at
this stage, so please bear with me :)

PS:
Additional note:

Also, there is a typo in the default path for merging :package

:(package "cliki.tar.gz") => http://ww.telent.net/cclan/cliki.tar.gz

Note the typo in "ww".


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
d...@telent.net  
View profile  
 More options Nov 2, 9:11 pm
Newsgroups: comp.lang.lisp
From: d...@telent.net
Date: Mon, 02 Nov 2009 10:11:04 +0000
Local: Mon, Nov 2 2009 9:11 pm
Subject: Re: Adding repos to Cliki

szergling <senatorzergl...@gmail.com> writes:
> Also, there is a typo in the default path for merging :package

> :(package "cliki.tar.gz") => http://ww.telent.net/cclan/cliki.tar.gz

> Note the typo in "ww".

This is not a typo, it's deliberate.  Although I'm not sure whether
ww.telent.net is still providing a redirect service, nor indeed whether
any of the cclan hosts it redirects to are still there, nor (supposing
that they are) that there is any useful software still hosted there, the
correct name historically was indeed "ww"

Adding source code control support to cliki/asdf-install was something I
thought about a bit a few years ago, but I'm told that clbuild has more
or less overtaken it these days anyway.

-dan


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tamas K Papp  
View profile  
 More options Nov 2, 9:21 pm
Newsgroups: comp.lang.lisp
From: Tamas K Papp <tkp...@gmail.com>
Date: 2 Nov 2009 10:21:14 GMT
Local: Mon, Nov 2 2009 9:21 pm
Subject: Re: Adding repos to Cliki

On Mon, 02 Nov 2009 10:11:04 +0000, dan wrote:
> Adding source code control support to cliki/asdf-install was something I
> thought about a bit a few years ago, but I'm told that clbuild has more
> or less overtaken it these days anyway.

I think that clbuild couuld still take advantage of information that
could be stored in cliki, but as I said, it would be best to ask the
clbuild team about this.

Tamas


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
szergling  
View profile  
 More options Nov 4, 10:58 am
Newsgroups: comp.lang.lisp
From: szergling <senatorzergl...@gmail.com>
Date: Tue, 3 Nov 2009 15:58:33 -0800 (PST)
Local: Wed, Nov 4 2009 10:58 am
Subject: Re: Adding repos to Cliki
On Nov 2, 11:21 pm, Tamas K Papp <tkp...@gmail.com> wrote:

> On Mon, 02 Nov 2009 10:11:04 +0000, dan wrote:
> could be stored in cliki, but as I said, it would be best to ask the
> clbuild team about this.

> Tamas

Righto, I'll have to play around with it a bit first. And thanks to
Dan
for the heads up on "ww.telent.net". Yeah, quite a few links there are
now stale.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google