axiom-developer
[Top][All Lists]
Advanced

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

[Axiom-developer] Re: [patch #1872] [Patch #1872] No lowercase.spad file


From: Bill Page
Subject: [Axiom-developer] Re: [patch #1872] [Patch #1872] No lowercase.spad files
Date: 01 Sep 2003 16:51:35 -0400

Tim,

Yes, I understand about "tagging" and versions in CVS (I think).
The reason I uploaded the this as a patch was because your earlier
email implied that you might not want to eliminate those files
because you use/used? them for testing. So I thought if someone
really wanted it, they could download it and apply it to
algebra/Makefile.pamphlet themselves.

But after uploading the file to the patches section on Savannah
(were originally I also saw several other initial patches dating
back several months), I received a message from Babar saying
that he had "closed" (what does that mean?) the patch because
it did not seem to be related to Savannah. But I thought I was
submitting it for Axiom, not the Savannah system itself. (See
attached email below.) So I tried again this morning to upload
it to the right place.

-----

Thank you very much for the CVS tutorial. Do you know that I
could not find any documentation about "checkin" anywhere
in the CVS help files. I saw ci but it was in the context of
"importing" which didn't sound right. I can't believe how
bad the documentation of CVS really is... Your notes were
very clear. I think we should make them available for
download on the Axiom developer web page and we should
expand it as we learn and use more features of CVS.

-----

About uploading and managing files in the "files section.
The basic information is at

https://savannah.gnu.org/faq/?group_id=11&question=How_do_I_add_files_in_the_download_area.txt

but there is an error in the example. It says:

  For example, using rsync:
  cd /opt/myproject/download
  scp -1 myfile address@hidden:/upload/myproject

but the example is using scp not rsync! It is possible to use scp
but I found it rather awkward and furthermore you can't use scp
to delete files. rsyn is much better.

rsync is rather like a simplified CVS. What it does is to keep
two directories, usually one remote and one local, in "sync" i.e.
it copies files from the "source" directory to the "target"
directory (and sub-directories if you say so) in an attempt to
make them the same with a mimimum amount of data transfer.

rsync access to Savannah uses the same secure ssh protocol as
developer access to the CVS. You cat add

  export RSYNC_RSH=ssh

to .bashrc or you can specify --rsh=ssh on the command line.

I setup a directory called uploads to hold the things I want
to upload (or download) from the Savannah files section.
Then

1) rsync --rsh=ssh --recursive
address@hidden:/upload/axiom ~/uploads

will copy all the files from Savannah to your uploads directory.
Of course use your own user name instead of billpage1.

2) rsync --rsh=ssh --recursive ~/uploads
address@hidden:/upload/axiom

will transfer from your uploads directory to the axiom files
directory on Savannah.

The naming of the directories and files in the upload directory
is very important because Savannah expects a particular naming
scheme to make things appear on the file list. For example, the
file that I uploaded has the following name

  ~/uploads/axiom/algebra_depends.pkg/1.0.0/algebra_depends-1.0.0.tar.gz

On the Savannah file list it appears with the heading

  algebra_depends

and sub-heading

  1.0.0

(Don't forget the .pkg in the first subdirectory!) If you don't use
this naming convention, the files are still uploaded but they may
not appear in the list.

To delete files:

3) First make sure you have an up to date copy of all the
files in the Axiom file section in your *local* uploads
directory, including the file(s) you want to delete. If
necessary use step 1) above

4) Then delete selected files (and/or directorys) from your
local uploads directory.

5) Finally use a command like step 2) except include the
--delete option

   rsync --rsh=ssh --recursive --delete ~/uploads
address@hidden:/upload/axiom

rsync has lots of options. Some you might want to use are

  -z  to tell rsync to use compression (saves time on a slow
      network link)
  -v  verbose mode for more information about what is going
      on

------

If the above instructions work for you, then maybe they should
also be added to the Axiom developer main page (or elsewhere)

I hope this helps.

Cheers,
Bill Page.


On Mon, 2003-09-01 at 13:32, root wrote:
> Bill,
> 
> We don't need to use patches for updates to the core code we control.
> When we have a stable version I need to "tag" the version so it can
> be recovered but, in general, just make changes to the source tree.
> 
> Could you tell me how you managed to put files into the file section?
> I want to put a tar.gz version of the sources in the file section.
> 
> Tim
> address@hidden
address@hidden


On Mon, 2003-09-01 at 12:59, Bill Page wrote: 
> Dear babar:
> 
> This patch belongs to the group
> 
>   Axiom Computer Algebra System
> 
> It was uploaded from page
> 
>   https://savannah.nongnu.org/patch/?func=addpatch&group=axiom
> 
> I don't understand why you have closed it.
> 
> Is there a problem with Savannah's patch upload procedure?
> 
> Thanks.
> 
> Bill Page.
> 
> On Mon, 2003-09-01 at 02:49, address@hidden wrote:
> > Patch #1870 has been updated. 
> > 
> > Project: 
> > Category: None
> > Status: Closed
> > Summary: No lowercase.spad files
> > 
> > Follow-Ups:
> > 
> > Date: lun 01.09.2003  08:49
> > By: babar
> > 
> > Comment:
> > This doesn't seems to be related to Savannah project.
> > -------------------------------------------------------
> > 
> > -------------------------------------------------------
> > For more info, visit:
> > 
> > http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1870&group_id=11
> > 
> > _______________________________________________
> >   Message sent via/by Savannah
> >   http://savannah.gnu.org/
> > 





reply via email to

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