octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bundles in Agora


From: Carnë Draug
Subject: Re: Bundles in Agora
Date: Tue, 9 Oct 2012 22:10:08 +0200

On 9 October 2012 20:06, Wendy Liu <address@hidden> wrote:
> I've posted a summary of my progress on the bundle uploading feature for
> Agora Octave: http://dellsystem.me/posts/agora-octave-update-8/
>
> Any feedback - questions, comments, feature suggestions, etc - would be
> appreciated!

> The problem with this technique is that there doesn't appear to be a way
> to make the line numbers hyperlinks. One way around this is to use
> Javascript to make the line itself a hyperlink, so that when you click
> anywhere on a line of code you're taken to the relevant anchor. Of course,
> this still requires Javascript, so I don't know if it's really a better 
> solution.
> It's also a bit harder to style. The current implementation (using Javascript
> to display the line numbers) should suffice for now, so I'm going to table
> this issue and only come back to it if it turns out there's a major problem
> with the current method.

You may want to take a look at how it's done in launchpad
http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/view/head:/apport/source_bzr.py
The line numbers have links, and you can copy and paste without
problem. I don't know the details of their solution but it works. And
it's free under AGPL.

> The idea is that you should be able to [...]. If you upload an archive, then
> it should be unpacked on the server, and the contents of the archive
> should be restored with their original filenames and directory structure,
> and shown on the page with syntax highlighting (if possible).

I don't think this was actually part of the original design.

On 9 October 2012 21:01, Juan Pablo Carbajal <address@hidden> wrote:
> Regarding your future stuff. "A bundle management system (so that
> users can rename, delete, and add files after creating a bundle)"

I second Juan that there's more important things and more: do NOT
implement this. After a release is made, it should not be changed.
What would happen if we went back, pulled down the 3.6.0 sources,
fixed a bug and released it again with the same version number? The
whole version system becomes useless.

On 9 October 2012 21:01, Juan Pablo Carbajal <address@hidden> wrote:
> For example I
> think a good working situation would be to allow for the upload of a
> new version of the bundle (so a completely new zip file), but not
> editing the internals and to be able to see in your user account which
> bundles you have uploaded.

Again, I agree with Juan. And this was also part of the original
discussion at OctConf, and the design of Agora. Quoting the section
about bundles: "They will be associated with a specific user, the
uploader, who is able to release new versions. Versioning will be
automatic and the simplest possible: a single number incrementing with
each new upload. Old versions will be made available for download in
the same style as arXiv (see the submission history on an entry for an
example)." The link on the text was for http://arxiv.org/abs/1206.1440

Carnë


reply via email to

[Prev in Thread] Current Thread [Next in Thread]