[axel-devel] axel-devel Digest, Vol 11, Issue 1

李蠡 shuge.lee at gmail.com
Tue Nov 11 13:46:31 UTC 2008


Dear Philipp:

> ... but that
> depends on what you want to log. Tell us and we'll either consider it
> for a future version or help you write a wrapper script.

I think LOG could be a option-ability for axel, axel log when, what I
downloaded while I run it as following:
axel -n 2 -log 1 http://www.kernel.org/example.7z

No matter it if downloads example.7z successfully, I cound see a log here
$HOME/.axel/log
URL                                             DESTINATION DIR
DATE                  FILESIZE    N    ...
http://www.kernel.org/example.7z   /home/share/dol        08-11-11 20:49
10 MB        2

It's very important that user could delete/find downloaded DESTINATION file
from log, a good/nice log viewer is important too.

Using sqlite to manage log maybe is a good idea, user also could define
howto organize log DIR in /etc/axelrc.
...
# define LOGDIR
# LOGDIR=$HOME/.axel/log/yyyy/mm/dd/hhmm
# or LOGDIR=/tmp
...

If axel has log ability in future, please also add this into some file:
`.configure  --log=disable | enable`

Good developers design choice, and let end-uses make a choice by themselves.



> Thaank you very much for your work for axel! In the 3.x version, some
> messages will change, be removed, and added. May I contact you then for
> chinese translations?

Of corse, my honor.



*BUG*
Some firends told me that axel maybe includes some bugs somewhere, it
doesn't work well with Gentoo GNU/Linux Portage Software Manager.

Gentoo Portage use wget download file with one single thread one single
connection default, so that many gentoo users use axel instead of wget in
portage configure file /etc/make.conf:
$ cat /etc/make.conf
...
FETCHCOMMAND="/usr/bin/axel -a -n2 \${URI} -o \${DISTDIR}"
RESUMECOMMAND="/usr/bin/axel -a -n2 \${URI} -o \${DISTDIR}"
...

However it doesn't work well, it interrupts downloading file suddenly
without any msg or reason, but aira2 or wget has no problem ... many users
using arai2 instead of axel now.




*Improve GUI suggest*
Please have a look this
http://code.google.com/p/egear/
and this
Thunder is best & worst donwloader on M$-WIndows in China.
http://down.sandai.net/Thunder5.8.6.600.exe



2008/11/11 <axel-devel-request at lists.alioth.debian.org>

> Send axel-devel mailing list submissions to
>        axel-devel at lists.alioth.debian.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.alioth.debian.org/mailman/listinfo/axel-devel
> or, via email, send a message with subject or body 'help' to
>        axel-devel-request at lists.alioth.debian.org
>
> You can reach the person managing the list at
>        axel-devel-owner at lists.alioth.debian.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of axel-devel digest..."
>
>
> Today's Topics:
>
>   1. Re: axel-devel Digest, Vol 10, Issue 6 ( ?? )
>   2. Re: axel-devel Digest, Vol 10, Issue 6 (Philipp Hagemeister)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 11 Nov 2008 16:12:54 +0800
> From: " ?? " <shuge.lee at gmail.com>
> Subject: Re: [axel-devel] axel-devel Digest, Vol 10, Issue 6
> To: axel-devel at lists.alioth.debian.org
> Message-ID:
>        <759d8ad0811110012n6b0efd8dg3972cf5343585d67 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I know nothing about RFC: Directory Layout  : ( .
>
>
> *SUGGEST*
>
> It seems that is a pity axel can't/haven't create log in $HOME, why add
> this
> ability for axel ?
>
>
>
> *PATCH*
>
> I translated manpage & po file for axel in Chinese, please add they next
> version, thank you.
>
>
>
> *BUG ?*
>
> #: axel.c:201
> msgid "Crappy filesystem/OS.. Working around. :-("
>
> What does `Working around` means ?
>
> It means `trying solve` or `skip` ? Please tell me in detail.
>
>
>
> 2008/10/20 <axel-devel-request at lists.alioth.debian.org>
>
> > Send axel-devel mailing list submissions to
> >        axel-devel at lists.alioth.debian.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >        http://lists.alioth.debian.org/mailman/listinfo/axel-devel
> > or, via email, send a message with subject or body 'help' to
> >        axel-devel-request at lists.alioth.debian.org
> >
> > You can reach the person managing the list at
> >        axel-devel-owner at lists.alioth.debian.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of axel-devel digest..."
> >
> >
> > Today's Topics:
> >
> >   1. RFC: Directory Layout (Philipp Hagemeister)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sun, 19 Oct 2008 23:18:34 +0200
> > From: Philipp Hagemeister <phihag at phihag.de>
> > Subject: [axel-devel] RFC: Directory Layout
> > To: axel-devel at lists.alioth.debian.org
> > Message-ID: <48FBA42A.3050009 at phihag.de>
> > Content-Type: text/plain; charset=ISO-8859-15
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA512
> >
> > Currently, axel's directory layout is pretty simple:
> >
> > .   - Source files, text interface, compiled files, axel binary,
> > documentation, internationalization, compiled i18n files, configure,
> > Makefile
> > gui - GUI
> >
> > Although this is simple, the Makefile that determines what should be
> > generated/deleted is pretty complicated. It's easy to miss something.
> > Furthermore, the addition of unit tests requires more magic to determine
> > what belongs to CLI and what belongs to the core. Additionally, this
> > intermingling of interface and core has already caused problems; just
> > take a look at the 300+ lines main method in text.c.
> >
> > Therefore, I propose the following directory layout:
> >
> > . configure, Makefile, axelrc.example, axel.spec
> > cfg/ - Configuration files generated by configure. This folder is
> > deleted by distclean.
> > cli/ - The text interface (text.c)
> > doc/ - Documentation
> > gui/ - The graphical user interface
> > i18n/ - Internationalization (only those files under version control)
> > out/ - Output directory for everything generated by make and deleted by
> > make clean.
> >  axel - The final binary
> >  bin/ - .o files
> >  cli/ - .o file of the CLI
> >  i18n/ - .mo files
> >  test/ - .o files of the test, executable test-axel
> >  axel-${VERSION}.tar{,.bz2,.gz} - Distribution files
> > src/ - The main source (.c and .h)
> > test/ - The test source files
> >
> > What do you think of this layout? Comments? Improvements? Ideas?
> >
> > Philipp Hagemeister
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.9 (GNU/Linux)
> >
> > iEYEAREKAAYFAkj7pCgACgkQ9eq1gvr7CFyayACfYHYr5nUaYWX+46ekQuSKufJv
> > hRwAn1IYMJk9yiHBVDoOydQvC2IJoZ8u
> > =989T
> > -----END PGP SIGNATURE-----
> >
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > axel-devel mailing list
> > axel-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/axel-devel
> >
> >
> > End of axel-devel Digest, Vol 10, Issue 6
> > *****************************************
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.alioth.debian.org/pipermail/axel-devel/attachments/20081111/ec110c6e/attachment-0001.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: axel.1
> Type: application/octet-stream
> Size: 4137 bytes
> Desc: not available
> Url :
> http://lists.alioth.debian.org/pipermail/axel-devel/attachments/20081111/ec110c6e/attachment-0001.obj
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: zh_cn.po
> Type: text/x-gettext-translation
> Size: 7563 bytes
> Desc: not available
> Url :
> http://lists.alioth.debian.org/pipermail/axel-devel/attachments/20081111/ec110c6e/attachment-0001.bin
>
> ------------------------------
>
> Message: 2
> Date: Tue, 11 Nov 2008 12:11:48 +0100
> From: Philipp Hagemeister <phihag at phihag.de>
> Subject: Re: [axel-devel] axel-devel Digest, Vol 10, Issue 6
> To: shuge.lee at gmail.com
> Cc: Axel Developer Discussions <axel-devel at lists.alioth.debian.org>
> Message-ID: <49196874.6010305 at phihag.de>
> Content-Type: text/plain; charset=UTF-8
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi Lee,
>
> thank you for your suggestions.
>
> ?? wrote:
> > I know nothing about RFC: Directory Layout  : ( .
> An RFC is a Request For Comments. Another word would be proposal, but
> that's longer and less to the point. So if you are interested in such a
> dull topic as the directory structure of axel, please comment ;).
>
> > It seems that is a pity axel can't/haven't create log in $HOME, why add
> this
> > ability for axel ?
> What do you want to be logged? A normal axel session is quite
> straight-forward: Download n chunks to a local file, save state file
> while downloading, remove state file when finished. That being said, in
> most cases a wrapping shell script should be more appropriate, but that
> depends on what you want to log. Tell us and we'll either consider it
> for a future version or help you write a wrapper script.
>
> > I translated manpage & po file for axel in Chinese, please add they next
> > version, thank you.
> Thank you very much! I just added both to the stable 2.x branch and plan
> to add them in the new directory structure of version 3.x (developed in
> trunk).
>
> > #: axel.c:201
> > msgid "Crappy filesystem/OS.. Working around. :-("
> >
> > What does `Working around` means ?
> >
> > It means `trying solve` or `skip` ? Please tell me in detail.
> Working around means doing something in an other, inferior way because
> the normal way is blocked by a bug in another program.
> In this case, axel is creating a new file. "Modern" operating systems
> allow files of variable size; if you write at a position beyond the
> file's size, the file will automatically increased to that position+the
> number of bytes written. "Modern" is a flexible term here, the POSIX
> standard defining it was published in 1988. I'll remove this in the 3.x
> version unless I can find a system affected by this bug.
>
> Thaank you very much for your work for axel! In the 3.x version, some
> messages will change, be removed, and added. May I contact you then for
> chinese translations?
>
> Kind regards,
>
> Philipp
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
>
> iEYEAREKAAYFAkkZaHIACgkQ9eq1gvr7CFwcsACgnHw1M9t/0yBD/bh2Rmrjea80
> rYcAn364zLJU7Ecz4PT8KrVhDFk2VbcD
> =FtB8
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------
>
> _______________________________________________
> axel-devel mailing list
> axel-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/axel-devel
>
>
> End of axel-devel Digest, Vol 11, Issue 1
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/axel-devel/attachments/20081111/30ac6624/attachment.htm 


More information about the axel-devel mailing list