Re: gEDA-user: Symbol submission

2006-12-18 Thread Joshua Boyd
On Fri, Dec 15, 2006 at 08:51:10AM -0500, DJ Delorie wrote:

 Surely you can type cvs commit?

Or cvs ci for the lazy, like me.

-- 
Joshua D. Boyd
[EMAIL PROTECTED]
http://www.jdboyd.net/
http://www.joshuaboyd.org/


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-16 Thread Karel Kulhavy
On Fri, Dec 15, 2006 at 08:51:10AM -0500, DJ Delorie wrote:
 
  If I won't be able to submit through the old mechanism I won't
  probably submit anymore.  gedasymbols.org are just too complicated
  for me.
 
 Once it's set up, it's far *simpler* to contribute through
 gedasymbols.  What I did is point at my gedasymbols tree for my live
 symbol and footprint libraries, so the directory I'm editing and
 creating symbols in, *is* the gedasymbols directory.  I just type cvs
 commit when I want to push it out to the web server.
 
 Surely you can type cvs commit?
 
 Besides, Karel, you've never even asked for an account on gedasymbols,
 so how do you know what the process is like?  You should at least
 *try* it before you tell everyone how bad it is.

From the fact that it is an account I know there will be one more annoying
password. That means finding the paper where it is written every time I need
to commit. My brain passowrd storage area is already exhausted.

CL
 
 
 ___
 geda-user mailing list
 geda-user@moria.seul.org
 http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-16 Thread John Griessen



Karel Kulhavy wrote:


Surely you can type cvs commit?

Besides, Karel, you've never even asked for an account on gedasymbols,
so how do you know what the process is like?  You should at least
*try* it before you tell everyone how bad it is.



From the fact that it is an account I know there will be one more annoying
password. 



I've used the gedasymbols.org site as a contributor with an account, and after 
the first checkout it's not asking for a password again.   It seems embedded in 
the .CVS dirs.  When I update my web pages, I do cvs commit -m added something 
and it's there in my web browser after a refresh.   I don't have to go to my 
passwords sheet each time.


John G


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-16 Thread Peter TB Brett
On Saturday 16 December 2006 17:47, John Griessen wrote:
Karel Kulhavy wrote:
 Surely you can type cvs commit?

 Besides, Karel, you've never even asked for an account on gedasymbols,
 so how do you know what the process is like?  You should at least
 *try* it before you tell everyone how bad it is.

From the fact that it is an account I know there will be one more
 annoying password.

 I've used the gedasymbols.org site as a contributor with an account, and
 after the first checkout it's not asking for a password again.   It seems
 embedded in the .CVS dirs.  

Actually it's stored in '$HOME/.cvspass'.  But close. :)

Peter

-- 
Fisher Society committeehttp://tinyurl.com/o39w2
CUSBC novices, match and league secretary   http://tinyurl.com/mwrc9
CU Spaceflight  http://tinyurl.com/ognu2

v3sw6YChw7$ln3pr6$ck3ma8u7+Lw3+2m0l7Ci6e4+8t4Gb8en6g6Pa2Xs5Mr4p4
  hackerkey.com  peter-b.co.uk


pgpkdlG5YHGwt.pgp
Description: PGP signature


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-16 Thread Dan McMahill

John Griessen wrote:



Karel Kulhavy wrote:


Surely you can type cvs commit?

Besides, Karel, you've never even asked for an account on gedasymbols,
so how do you know what the process is like?  You should at least
*try* it before you tell everyone how bad it is.


From the fact that it is an account I know there will be one more 
annoying
password. 



I've used the gedasymbols.org site as a contributor with an account, and 
after the first checkout it's not asking for a password again.   It 
seems embedded in the .CVS dirs.  When I update my web pages, I do cvs 
commit -m added something and it's there in my web browser after a 
refresh.   I don't have to go to my passwords sheet each time.


something goes in your ~/.cvspass file not the CVS dirs.  If you do a 
'cvs logout' then it should log you out and you'll need to login again.


-Dan





___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


subversion usage (was: Re: gEDA-user: Symbol submission)

2006-12-16 Thread Andy Peters

On Dec 15, 2006, at 3:56 PM, DJ Delorie wrote:

There seems to be a way to deal with just sub directories of a tree,
after you have the whole tree.  If you move that subdir to a new
place, it still functions as a svn working copy of that much of the
tree, and you could then delete the rest with no impact on the
repository.


But if you do an update to a specific version (or date) after moving
the subdir, it re-creates the subdir.


Which is as it should be, because you update to the specific state of  
the repository as of whatever revision you choose.


But if you update to HEAD, then assuming that subdirectory move was  
done properly (and if done from a working copy, committed back to the  
repo), the moved subdirectory vanishes from updated working copies.



The thing that svn can't do is check out a tree WITHOUT getting
specific subdirs.  For example, getting pcb without the documentation.


I have no idea what the tree looks like, but for argument's sake,  
assume it's like:


pcb/src
   /docs
   /foo
   /bar
   /whatever

One could certainly do:

$ svn checkout http://svn.pcb.org/svn/pcb ./pcb

and get the whole tree.

One could just as easily do:

$ svn checkout http://svn.pcb.org/svn/pcb/src ./pcbsrc

and get just the sources.


This is a big problem for binutils/gdb/newlib/cygwin because they
share a repository and a lot of common top-level files.


The usual subversion solution to this is to maintain the common, top- 
level files as their own projects within the repo (or even in a  
different repo), and include them using the svn:externals property.   
When using externals, a reasonable use case is to always use tagged  
versions of the external-ed modules.  By subversion convention, tags  
are immutable, and the idea is that you always know which version of  
every external you use.  If you were to simply use the trunk of each  
external-ed module, checking out your project always gives you the  
latest version of the submodules.  When working on your project's  
trunk, that might be OK. But, as noted, a tag is immutable, so if  
someone has changed submodule foo's trunk, and someone else checks  
out and builds your project's release tag, they may not get what you  
think they should get.


(Does that make sense?  Simply stated, submodules are projects unto  
themselves, with their own trunks, branches and tags.)


Anyways, regarding how binutils/etc are organized: if they wish to  
switch to svn, a repo reorganization might be in the future.  That,  
of course, is up to the people who maintain it.


-a



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-16 Thread John Griessen



DJ Delorie wrote:
something goes in your ~/.cvspass file not the CVS dirs.  If you do a 
'cvs logout' then it should log you out and you'll need to login again.


I have 32 passwords in my ~/.cvspass file.  Some of them have been
there for over a decade.  Most are just anonymous.


I can't remember...  Does it stay logged in even after a user account logout? 
 A reboot?


John G


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: subversion usage (was: Re: gEDA-user: Symbol submission)

2006-12-16 Thread DJ Delorie

 Which is as it should be, because you update to the specific state of  
 the repository as of whatever revision you choose.

I agree, but in my case, when I'm hunting for when a particular bug
was introduced in gcc (for example), I don't want it to keep putting
the ada, c++, fortran, java, treelang, and testsuite directories back
in.  At the same time, I don't want to commit the moves, because it's
just a performance issue, and temporary.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-16 Thread DJ Delorie

 I can't remember...  Does it stay logged in even after a user account 
 logout? 

I don't know.  I've never used the logout command.

   A reboot?

Yes.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-15 Thread John Luciani

On 12/14/06, Bob Paddock [EMAIL PROTECTED] wrote:


 If you use IPC-style names the alphanumeric sort works fairly well. If you add
 a mfg/mfg_pn suffix you can get a better sort.

What happens when the company is bought by an other company?
Happens all to often.


You write a Perl script to update the names ;-)

(* jcl *)

--
http://www.luciani.org


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-15 Thread Andy Peters

On Dec 15, 2006, at 2:21 AM, Karel Kulhavy wrote:

If I won't be able to submit through the old mechanism I won't  
probably submit
anymore.  gedasymbols.org are just too complicated for me.  
Subscription,

password management, directories, CVS - takes too much time.


gEDA should dump cvs and switch to subversion ...

;)

-a



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-15 Thread DJ Delorie

 gEDA should dump cvs and switch to subversion ...

Note that gEDA, PCB, and gedasymbols.org each have their own -
independent - repositories.

The PCB admins have at least talked about the difference between cvs
and svn.  There are ups and downs to either choice.  Svn, for example,
doesn't have the concept of modules - you either get the whole tree,
or none of it.  OTOH, cvs won't let you check out a branch as of a
specific date.  Svn also needs twice the local disk space.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-15 Thread Lares Moreau
On Fri, 15 Dec 2006 11:31:39 -0700
Andy Peters [EMAIL PROTECTED] wrote:
-Cut-

 gEDA should dump cvs and switch to subversion ...

 ;)

 -a

fan_flames(lares)

svn++

-Lares


pgp7tmHXF18Z8.pgp
Description: PGP signature


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-15 Thread Andy Peters

On Dec 15, 2006, at 12:31 PM, DJ Delorie wrote:




gEDA should dump cvs and switch to subversion ...


Note that gEDA, PCB, and gedasymbols.org each have their own -
independent - repositories.

The PCB admins have at least talked about the difference between cvs
and svn.  There are ups and downs to either choice.  Svn, for example,
doesn't have the concept of modules - you either get the whole tree,
or none of it.


Actually, that's not true ... but let's leave that for a different  
thread and a different list.



OTOH, cvs won't let you check out a branch as of a
specific date.  Svn also needs twice the local disk space.


svn keeps an untouched local copy of whatever you check out so you  
can do diffs, reverts, etc without hitting the network.  Again,  
though, off topic, and I suppose I should apologize for bringing it up!


-a



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-15 Thread John Griessen



DJ Delorie wrote:
  Svn, for example,

doesn't have the concept of modules - you either get the whole tree,
or none of it.  OTOH, cvs won't let you check out a branch as of a
specific date.  Svn also needs twice the local disk space.


I'm wondering how git and svn compare... nirvana-wise

I've been using svn some lately to keep my circuit design work in.  There seems 
to be a way to deal with just sub directories of a tree, after you have the 
whole tree.  If you move that subdir to a new place, it still functions as a svn 
working copy of that much of the tree, and you could then delete the rest with 
no impact on the repository.   I've not noticed any quick way to break a 
repository into chunks after making it.  I think that could be done by taking a 
section of updated working copy and stripping out all .svn dirs, then import it 
into a new subdir of the same repository.  That would result in a repository 
with two top dirs, I think.  After that tested out OK, the copied original dir 
could be svn deleted.  The history of it and repository filesize would still be 
there.  The new history would start off in the new repository dir.


John G


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-15 Thread DJ Delorie

 Actually, that's not true ... but let's leave that for a different  
 thread and a different list.

Ok, but I do want to mention that the gcc and
binutils/gdb/newlib/cygwin repositories are pondering this same
question, and I have a lot of info from those discussions.  It's not a
cut-n-dried decision.  We've discussed it internally in RH but the
lack of a cvs modules equivalent was a blocking factor.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-15 Thread Andy Peters

On Dec 15, 2006, at 2:20 PM, John Griessen wrote:

DJ Delorie wrote:
  Svn, for example,
doesn't have the concept of modules - you either get the whole  
tree,

or none of it.  OTOH, cvs won't let you check out a branch as of a
specific date.  Svn also needs twice the local disk space.


I'm wondering how git and svn compare... nirvana-wise

I've been using svn some lately to keep my circuit design work in.   
There seems to be a way to deal with just sub directories of a  
tree, after you have the whole tree.  If you move that subdir to a  
new place, it still functions as a svn working copy of that much of  
the tree, and you could then delete the rest with no impact on the  
repository.


You don't have to check out the whole tree!  Just check out the part  
you need.


I've not noticed any quick way to break a repository into chunks  
after making it.  I think that could be done by taking a section of  
updated working copy and stripping out all .svn dirs, then import  
it into a new subdir of the same repository.  That would result in  
a repository with two top dirs, I think.  After that tested out OK,  
the copied original dir could be svn deleted.  The history of it  
and repository filesize would still be there.  The new history  
would start off in the new repository dir.


Dunno exactly what you mean by break a repository into chunks after  
making it, but if you decide that you don't like where something  
lives in the repo, it's really easy to move things around (retaining  
history, too):


$ svn move -m Comment about moving url://path/to/source url://path/ 
to/new/location


where url is replaced by your access method (svn:, svn+ssh:, http:,  
https:)


-a


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-15 Thread DJ Delorie

 There seems to be a way to deal with just sub directories of a tree,
 after you have the whole tree.  If you move that subdir to a new
 place, it still functions as a svn working copy of that much of the
 tree, and you could then delete the rest with no impact on the
 repository.

But if you do an update to a specific version (or date) after moving
the subdir, it re-creates the subdir.

The thing that svn can't do is check out a tree WITHOUT getting
specific subdirs.  For example, getting pcb without the documentation.
This is a big problem for binutils/gdb/newlib/cygwin because they
share a repository and a lot of common top-level files.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-14 Thread Tomaz Solc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

 I would think that if the Symbol Submission was integrated within the GUI, 
 that
 perhaps the Symbol library may be larger then it is now? Just a thought…

I have another idea. How about a GUI that allows you to search for a
symbol in the gedasymbols.org database?

Something like the current Add component dialog except that it
communicates with the gedasymbols.org server. It could show the preview
of the symbol and then download it into your local symbol directory.

It would be faster than starting up the browser, navigating to
gedasymbols.org, searching, and downloading to the proper directory.

I think I can hack something like this in a day or two with gtk-perl and
http::request.

Best regards
Tomaz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFgbcwsAlAlRhL9q8RAp7WAJ9ygzL3+Z667wp/LSFGADMpXNq42wCgs+0F
dnhZnY/Xj6ec32SpFM4+/SU=
=AhFm
-END PGP SIGNATURE-


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-14 Thread DJ Delorie

 I think I can hack something like this in a day or two with gtk-perl
 and http::request.

Let me know if you need a custom cgi on gedasymbols.org



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-14 Thread John Griessen



Tomaz Solc wrote:
 How about a GUI that allows you to search for a

symbol in the gedasymbols.org database?




I think I can hack something like this in a day or two with gtk-perl and
http::request.



A way to look at a sorted list of all that's on gedasymbols
could be helpful.  What's a good thing to sort on?   Alphanumeric is all I can 
think would work as is.


Should we create some standard category names, a style guideline of naming,  to 
sort symbols with on gedasymbols .org?


John G


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-14 Thread [EMAIL PROTECTED]

John Griessen wrote:
Should we create some standard category names, a style guideline of 
naming,  to sort symbols with on gedasymbols .org?


John G


Not that I've been good about getting my symbols up on gedasymbols.org, 
but I've been using the IPC 7351 naming conventions that John Luciani 
organized.


Since John's footprint directory is so big, I see a lot of value in 
sticking with his system.


http://luciani.org/geda/pcb/footprint-name-spec.pdf

Phil


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-14 Thread John Griessen



Peter Clifton wrote:
 I've also been

wondering about the possibilities of plugging back-ends in to
communicate with your favorite supplier's online catalog, and link to
datasheets, pricing etc.

(Again, all blue skies speculation, so 


The recognizing of useful data from the mishmash of images and text that pdf 
datasheets are made of is a tough problem. getting that kind of data entered 
into spreadsheet rows would be useful for design decision making.  To do good 
design decisions, one favorite supplier is not enough -- you need to make the 
best choice from what's globally available.


John G


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-14 Thread John Luciani

On 12/14/06, John Griessen [EMAIL PROTECTED] wrote:


A way to look at a sorted list of all that's on gedasymbols
could be helpful.  What's a good thing to sort on?   Alphanumeric is all I can
think would work as is.

Should we create some standard category names, a style guideline of naming,  to
sort symbols with on gedasymbols .org?


If you use IPC-style names the alphanumeric sort works fairly well. If you add
a mfg/mfg_pn suffix you can get a better sort. It would be easy to parse the
IPC-style names and populate a database.

The naming style I use for my footprints is at
http://www.luciani.org/geda/pcb/footprint-name-spec.pdf

(* jcl *)


--
http://www.luciani.org


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Symbol submission

2006-12-14 Thread Peter TB Brett
On Friday 15 December 2006 01:09, Bob Paddock wrote:
  If you use IPC-style names the alphanumeric sort works fairly well. If
  you add a mfg/mfg_pn suffix you can get a better sort.

 What happens when the company is bought by an other company?
 Happens all to often.

Symlinks? ;)

Peter

-- 
Fisher Society committeehttp://tinyurl.com/o39w2
CUSBC novices, match and league secretary   http://tinyurl.com/mwrc9
CU Spaceflight  http://tinyurl.com/ognu2

v3sw6YChw7$ln3pr6$ck3ma8u7+Lw3+2m0l7Ci6e4+8t4Gb8en6g6Pa2Xs5Mr4p4
  hackerkey.com  peter-b.co.uk


pgp5TtMtyolIC.pgp
Description: PGP signature


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user