Re: Fwd: 2.4.8 git /w guile 2.0

2011-11-11 Thread Geert Janssens
On donderdag 10 november 2011, Ted Creedon wrote:
 Built a new system w. guile 2.0
 
 export GUILE_AUTO_COMPILE=0
 make clean;./configure --disable-error-on-warning;time nice make -s
 gnucash
 
 On Wed, Nov 9, 2izzy:/data/gnucash # rm -rf /root/.cache/guile/*;gnucash
 
 gnc.bin-Message: main: binreloc relocation support was disabled at
 configure time.
 
 WARNING: no socket to connect to
 Backtrace:
 In ice-9/boot-9.scm:
  170: 12 [catch #t #catch-closure c5dc60 ...]
 In unknown file:
?: 11 [catch-closure]
 In ice-9/boot-9.scm:
 2497: 10 [#procedure bf17a0 at ice-9/boot-9.scm:2485:4 (name #:optional
 autoload version #:key ensure) # ...]
 2763: 9 [try-module-autoload (gnucash main) #f]
 2103: 8 [save-module-excursion #procedure dd97b0 at
 ice-9/boot-9.scm:2764:17 ()]
 2774: 7 [#procedure dd97b0 at ice-9/boot-9.scm:2764:17 ()]
 In unknown file:
?: 6 [primitive-load-path gnucash/main #f]
 In ice-9/eval.scm:
  458: 5 [#procedure b330c0 at ice-9/eval.scm:452:4 (exp) #]
 In ice-9/psyntax.scm:
 1024: 4 [chi-top-sequence ((debug-set! maxdepth 10)) () ...]
  922: 3 [scan ((debug-set! maxdepth 10)) () ...]
 1015: 2 [scan ((#(syntax-object debug-options # ...) (# # #))) () ...]
 In ice-9/boot-9.scm:
 2854: 1 [debug-options (show-file-name #t stack ...)]
 In unknown file:
?: 0 [debug-options-interface (show-file-name #t stack ...)]
 
 ERROR: In procedure debug-options-interface:
 ERROR: In procedure debug-options-interface: Unknown option name: maxdepth
 
This error was fixed a couple of days ago on the trunk branch. It seems you 
are not using the most recent HEAD, the wrong branch or the wrong git repo.

What is the url of your origin git repo ?
What branch did you check out ?

Geert

 011 at 9:06 AM, Ted Creedon tcree...@easystreet.net wrote:
  can anyone suggest a suitable log.conf?
  
The errors you get so far are in guile code. My experience is that there's not 
much debug logging in that code unfortunately. But you could set gnc.scm to 
debug to get most out of it. You can do that either on the commandline with 
the switch --log=gnc.scm=debug or in log.conf.
See http://wiki.gnucash.org/wiki/Logging for some more details.

Geert

  thanks
  ted
  
  On Wed, Nov 9, 2011 at 8:59 AM, Ted Creedon 
tcree...@easystreet.netwrote:
  announce window  tip of the day pop up before exiting
  
  rm -rf /root/.cache/guile/;GUILE_AUTO_COMPILE=0 gnucash --debug --extra
  
  gnc.bin-Message: main: binreloc relocation support was disabled at
  configure time.
  
  This is a development version. It may or may not work.
  Report bugs and other problems to gnucash-devel@gnucash.org.
  You can also lookup and file bug reports at http://bugzilla.gnome.org
  The last stable version was GnuCash 2.4.7
  The next stable version will be GnuCash 2.6
  
  WARNING: (gnucash import-export qif-import): `GNC-DENOM-AUTO' imported
  from both (sw_engine) and (gnucash engine)
  WARNING: (gnucash import-export qif-import): `gnc-build-dotgnucash-path'
  imported from both (sw_engine) and (gnucash core-utils)
  WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
  both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
  both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
  both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-plain): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-fancy): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-footer): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-easy): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports daily-reports): imported
  module (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports account-summary): imported
  module (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports general-journal): imported
  module (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports advanced-portfolio): imported
  module (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports advanced-portfolio):
  `GNC-DENOM-AUTO' imported from both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report standard-reports balance-sheet): imported
  module 

Re: Latest invoice window edits gtk+ requirements

2011-11-11 Thread Geert Janssens
On vrijdag 11 november 2011, John Ralls wrote:
 On Nov 10, 2011, at 9:56 AM, Geert Janssens wrote:
  On donderdag 10 november 2011, Mike Evans wrote:
  I just compiled and ran the latest SVN and I now have no invoice windows
  just the status bar.  This appears to be due the gtk+ requirement being
  2.24.  The current gtk+ on my, regularly yum updated, Fedora 14 is 2.22.
  Changing requirement in the glade file restores the page.
  
  Could Geert downgrade the requirements for gtk+? Fedora 14 isn't
  obsolete quite yet.
  
Fixed in r21556.

  Ok, I'll downgrade the requirements. I am not strictly using anything
  2.24 specific. I set it because my goal is to get gnucash on the way to
  gnome 3.0 compatibility. And the gnome migration page suggests to build
  against the latest 2.24 as a first step.
 
 You don't have to set Glade to 2.24, just link against the 2.24 libraries.
Ok. Understood now.

 It's probably a good idea to set all of the DISABLE_DEPRECATED defines as
 well.
 
IMO this only makes sense after all the libglade code has been replaced with 
gtkbuilder code. Otherwise we will always bail out on libglade calls. We're 
not there yet though.

 The catch for trunk is that we still need to be able to build against 2.18
 as well (for RHEL 6 compatibility), so if you wind up having to make
 changes that won't, then we need to branch off 2.5 so that trunk can go to
 wherever you need.
 
Hmm, good point. So far there are no changes yet that require 2.24 as far as I 
know. But we'll see what turns up when the DISABLE_DEPRECATED defines are 
used.

Shouldn't we change configure.ac already to require 2.18 ? There is a comment 
in there that this is currently still 2.16 because the windows build didn't 
build with a more recent version. But the windows build is currently using 
2.24 already.

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Latest invoice window edits gtk+ requirements

2011-11-11 Thread Christian Stimming

Zitat von Geert Janssens janssens-ge...@telenet.be:
Hmm, good point. So far there are no changes yet that require 2.24  
as far as I

know. But we'll see what turns up when the DISABLE_DEPRECATED defines are
used.

Shouldn't we change configure.ac already to require 2.18 ? There is a comment
in there that this is currently still 2.16 because the windows build didn't
build with a more recent version. But the windows build is currently using
2.24 already.


Yes, I think we can increase our required gtk here. (I'm working with  
2.24 as well during my development.)


Regards,

Christian

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Latest invoice window edits gtk+ requirements

2011-11-11 Thread Geert Janssens
On vrijdag 11 november 2011, Christian Stimming wrote:
 Zitat von Geert Janssens janssens-ge...@telenet.be:
  Hmm, good point. So far there are no changes yet that require 2.24
  as far as I
  know. But we'll see what turns up when the DISABLE_DEPRECATED defines are
  used.
  
  Shouldn't we change configure.ac already to require 2.18 ? There is a
  comment in there that this is currently still 2.16 because the windows
  build didn't build with a more recent version. But the windows build is
  currently using 2.24 already.
 
 Yes, I think we can increase our required gtk here. (I'm working with
 2.24 as well during my development.)
 
Ok, 2.18.1 (as per the comment in configure.ac) is now the new baseline on 
trunk.

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Git Migration: github with svn access

2011-11-11 Thread Geert Janssens
On woensdag 9 november 2011, Yawar Amin wrote:
 Hi,
 
 On Wed, Nov 9, 2011 at 2:30 PM, Christian Stimming
 
 christ...@cstimming.dewrote:
  [...]
  
  
  Same for me - I was able to svn checkout one of my other normal git
  repos,
  but with gnucash I, too, got 502 Bad Gateway. However, it came up with
  a trunk and branches directory, so that I had to append trunk to
  the URL
  to get a useful source tree. For gnucash, this didn't change the problem,
  though.
 
 I think this is the issue I mentioned yesterday--you need a `master' branch
 in the Git repo to do a Subversion checkout.
 
 Regards,
 
 Yawar

I'm tempted to try this out by manually adding a master branch in the main git 
repository on github, but I don't know if this would confuse the svn-git 
syncrhonisation we have currently.

Anyone know this ?

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Git Migration: github with svn access

2011-11-11 Thread John Ralls

On Nov 11, 2011, at 6:16 AM, Geert Janssens wrote:

 On woensdag 9 november 2011, Yawar Amin wrote:
 Hi,
 
 On Wed, Nov 9, 2011 at 2:30 PM, Christian Stimming
 
 christ...@cstimming.dewrote:
 [...]
 
 
 Same for me - I was able to svn checkout one of my other normal git
 repos,
 but with gnucash I, too, got 502 Bad Gateway. However, it came up with
 a trunk and branches directory, so that I had to append trunk to
 the URL
 to get a useful source tree. For gnucash, this didn't change the problem,
 though.
 
 I think this is the issue I mentioned yesterday--you need a `master' branch
 in the Git repo to do a Subversion checkout.
 
 Regards,
 
 Yawar
 
 I'm tempted to try this out by manually adding a master branch in the main 
 git 
 repository on github, but I don't know if this would confuse the svn-git 
 syncrhonisation we have currently.
 
 Anyone know this ?

It won't confuse it, but it won't get updated, either. 

I think for experimentation you could add the branch, see if you can do a 
subversion checkout, then delete the branch.

Regards,
John Ralls


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Fwd: 2.4.8 git /w guile 2.0

2011-11-11 Thread Derek Atkins
Ted,

Ted Creedon tcree...@easystreet.net writes:

 Brand new clean system Lizzy - first build did a git pull and ran the
 perl script

 #!/usr/bin/perl
 #-;-perl-;-
 use strict;

 use lib (split(/:/, $ENV{GITPERLLIB} ||
 /usr/local/git/lib/perl5/site_perl));
 use Git;

 Git::command_noisy(pull, (--rebase, origin, @ARGV));
 my @branches = Git::command(branch, -r);
 map s/[*\s]//g, @branches;
 @branches = map { /^origin\/([^\s]+)$/ ? $1 : () } @branches;
 map { Git::command(update-ref, (refs/remotes/$_,
 refs/remotes/origin/$_)); } @branches;

This script means absolutely nothing to me, and you didn't answer my
question:

Are you sure you're using the most recent trunk (of GnuCash)?

-derek

 On Thu, Nov 10, 2011 at 10:49 AM, Derek Atkins de...@ihtfp.com wrote:

 Ted,

 Are you sure you're using the most recent trunk?

 Also, I wonder where it's finding ice-9/boot-9.scm?  Are there any traces
 of guile-1.8 on this system?  Any traces of an old GnuCash build?

 -derek

 On Thu, November 10, 2011 1:37 pm, Ted Creedon wrote:
  Built a new system w. guile 2.0
 
  export GUILE_AUTO_COMPILE=0
  make clean;./configure --disable-error-on-warning;time nice make -s
  gnucash
 
  On Wed, Nov 9, 2izzy:/data/gnucash # rm -rf /root/.cache/guile/*;gnucash
 
  gnc.bin-Message: main: binreloc relocation support was disabled at
  configure time.
 
  WARNING: no socket to connect to
  Backtrace:
  In ice-9/boot-9.scm:
   170: 12 [catch #t #catch-closure c5dc60 ...]
  In unknown file:
 ?: 11 [catch-closure]
  In ice-9/boot-9.scm:
  2497: 10 [#procedure bf17a0 at ice-9/boot-9.scm:2485:4 (name #:optional
  autoload version #:key ensure) # ...]
  2763: 9 [try-module-autoload (gnucash main) #f]
  2103: 8 [save-module-excursion #procedure dd97b0 at
  ice-9/boot-9.scm:2764:17 ()]
  2774: 7 [#procedure dd97b0 at ice-9/boot-9.scm:2764:17 ()]
  In unknown file:
 ?: 6 [primitive-load-path gnucash/main #f]
  In ice-9/eval.scm:
   458: 5 [#procedure b330c0 at ice-9/eval.scm:452:4 (exp) #]
  In ice-9/psyntax.scm:
  1024: 4 [chi-top-sequence ((debug-set! maxdepth 10)) () ...]
   922: 3 [scan ((debug-set! maxdepth 10)) () ...]
  1015: 2 [scan ((#(syntax-object debug-options # ...) (# # #))) () ...]
  In ice-9/boot-9.scm:
  2854: 1 [debug-options (show-file-name #t stack ...)]
  In unknown file:
 ?: 0 [debug-options-interface (show-file-name #t stack ...)]
 
  ERROR: In procedure debug-options-interface:
  ERROR: In procedure debug-options-interface: Unknown option name:
 maxdepth
  011 at 9:06 AM, Ted Creedon tcree...@easystreet.net wrote:
 
  can anyone suggest a suitable log.conf?
 
  thanks
  ted
 
 
  On Wed, Nov 9, 2011 at 8:59 AM, Ted Creedon
  tcree...@easystreet.netwrote:
 
  announce window  tip of the day pop up before exiting
 
  rm -rf /root/.cache/guile/;GUILE_AUTO_COMPILE=0 gnucash --debug --extra
 
  gnc.bin-Message: main: binreloc relocation support was disabled at
  configure time.
 
  This is a development version. It may or may not work.
  Report bugs and other problems to gnucash-devel@gnucash.org.
  You can also lookup and file bug reports at http://bugzilla.gnome.org
  The last stable version was GnuCash 2.4.7
  The next stable version will be GnuCash 2.6
 
  WARNING: (gnucash import-export qif-import): `GNC-DENOM-AUTO' imported
  from both (sw_engine) and (gnucash engine)
  WARNING: (gnucash import-export qif-import):
  `gnc-build-dotgnucash-path'
  imported from both (sw_engine) and (gnucash core-utils)
  WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
  both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
  both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
  both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-plain): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-fancy): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-footer): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-easy): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports daily-reports): imported
  module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports account-summary): imported
  module (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report 

Re: r21533 - gnucash-docs/trunk/help/C - Bug #651886

2011-11-11 Thread Yawar Amin
OK,

On 2011-11-09, at 09:00, Derek Atkins wrote:

 […]
 
 Looks good.   :)

Committed and bug resolved.

Cheers



PGP.sig
Description: This is a digitally signed message part
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: 2.4.8 git /w guile 2.0

2011-11-11 Thread John Ralls

On Nov 11, 2011, at 8:01 AM, Derek Atkins wrote:

 Ted,
 
 Ted Creedon tcree...@easystreet.net writes:
 
 Brand new clean system Lizzy - first build did a git pull and ran the
 perl script
 
 #!/usr/bin/perl
 #-;-perl-;-
 use strict;
 
 use lib (split(/:/, $ENV{GITPERLLIB} ||
 /usr/local/git/lib/perl5/site_perl));
 use Git;
 
 Git::command_noisy(pull, (--rebase, origin, @ARGV));
 my @branches = Git::command(branch, -r);
 map s/[*\s]//g, @branches;
 @branches = map { /^origin\/([^\s]+)$/ ? $1 : () } @branches;
 map { Git::command(update-ref, (refs/remotes/$_,
 refs/remotes/origin/$_)); } @branches;
 
 This script means absolutely nothing to me, and you didn't answer my
 question:
 
 Are you sure you're using the most recent trunk (of GnuCash)?
 

The script just gets the latest from git (one hopes that that's 
git://github.com/Gnucash/gnucash.git) and renames the branch pointers -- 
basically a no-op.

What he's not telling us is what branch he has checked out to do his build.

Regards,
John Ralls



___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: 2.4.8 git /w guile 2.0

2011-11-11 Thread Ted Creedon
Whats the correct incantation?
ted

On Fri, Nov 11, 2011 at 8:30 AM, John Ralls jra...@ceridwen.us wrote:


 On Nov 11, 2011, at 8:01 AM, Derek Atkins wrote:

  Ted,
 
  Ted Creedon tcree...@easystreet.net writes:
 
  Brand new clean system Lizzy - first build did a git pull and ran the
  perl script
 
  #!/usr/bin/perl
  #-;-perl-;-
  use strict;
 
  use lib (split(/:/, $ENV{GITPERLLIB} ||
  /usr/local/git/lib/perl5/site_perl));
  use Git;
 
  Git::command_noisy(pull, (--rebase, origin, @ARGV));
  my @branches = Git::command(branch, -r);
  map s/[*\s]//g, @branches;
  @branches = map { /^origin\/([^\s]+)$/ ? $1 : () } @branches;
  map { Git::command(update-ref, (refs/remotes/$_,
  refs/remotes/origin/$_)); } @branches;
 
  This script means absolutely nothing to me, and you didn't answer my
  question:
 
  Are you sure you're using the most recent trunk (of GnuCash)?
 

 The script just gets the latest from git (one hopes that that's git://
 github.com/Gnucash/gnucash.git) and renames the branch pointers --
 basically a no-op.

 What he's not telling us is what branch he has checked out to do his build.

 Regards,
 John Ralls



___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Git Migration: github with svn access

2011-11-11 Thread Geert Janssens
On vrijdag 11 november 2011, John Ralls wrote:
 On Nov 11, 2011, at 6:16 AM, Geert Janssens wrote:
  On woensdag 9 november 2011, Yawar Amin wrote:
  Hi,
  
  On Wed, Nov 9, 2011 at 2:30 PM, Christian Stimming
  
  christ...@cstimming.dewrote:
  [...]
  
  
  Same for me - I was able to svn checkout one of my other normal git
  repos,
  but with gnucash I, too, got 502 Bad Gateway. However, it came up
  with a trunk and branches directory, so that I had to append
  trunk to the URL
  to get a useful source tree. For gnucash, this didn't change the
  problem, though.
  
  I think this is the issue I mentioned yesterday--you need a `master'
  branch in the Git repo to do a Subversion checkout.
  
  Regards,
  
  Yawar
  
  I'm tempted to try this out by manually adding a master branch in the
  main git repository on github, but I don't know if this would confuse
  the svn-git syncrhonisation we have currently.
  
  Anyone know this ?
 
 It won't confuse it, but it won't get updated, either.
 
I was aware of that indeed.

 I think for experimentation you could add the branch, see if you can do a
 subversion checkout, then delete the branch.
 
Is there a way to create a branch via the github interface ? Or do I have to 
create one on my local repo and push it ? I didn't seem to find a feature on 
the website, but perhaps I missed it. I'm not very comfortable yet with te 
remote repo handling in git, so I prefer to ask before messing things up.

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Git Migration: github with svn access

2011-11-11 Thread Yawar Amin
Hi Geert,

On 2011-11-11, at 11:47, Geert Janssens wrote:

 […]
 Is there a way to create a branch via the github interface ? Or do I have to 
 create one on my local repo and push it ? I didn't seem to find a feature on 
 the website, but perhaps I missed it. I'm not very comfortable yet with te 
 remote repo handling in git, so I prefer to ask before messing things up.

You can do the latter.

# In your local repo
git branch master remotes/origin/trunk
git push origin master

Regards,

Yawar



PGP.sig
Description: This is a digitally signed message part
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: 2.4.8 git /w guile 2.0

2011-11-11 Thread John Ralls

On Nov 11, 2011, at 8:39 AM, Ted Creedon wrote:

 Whats the correct incantation?

To do what?

Regards,
John Ralls


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: 2.4.8 git /w guile 2.0

2011-11-11 Thread Ted Creedon
here's what I did, it it correct?

git clone git://github.com/Gnucash/gnucash.git
cd gnucash/
./autogen.sh
./configure --enable-debug --disable-error-on-warning  #won't
compile without this disable switch
 make

gnucash --version
gnc.bin-Message: main: binreloc relocation support was disabled at
configure time.

GnuCash 2.4.99 development version
Built 2011-11-08 from r872d437+


rm -rf /root/.cache/guile/;GUILE_AUTO_COMPILE=0 gnucash --debug --extra
--log=gnc.scm=debug
gnc.bin-Message: main: binreloc relocation support was disabled at
configure time.

This is a development version. It may or may not work.
Report bugs and other problems to gnucash-devel@gnucash.org.
You can also lookup and file bug reports at http://bugzilla.gnome.org
The last stable version was GnuCash 2.4.7
The next stable version will be GnuCash 2.6

WARNING: (gnucash import-export qif-import): `GNC-DENOM-AUTO' imported from
both (sw_engine) and (gnucash engine)
WARNING: (gnucash import-export qif-import): `gnc-build-dotgnucash-path'
imported from both (sw_engine) and (gnucash core-utils)
WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
both (sw_engine) and (gnucash engine)
WARNING: (gnucash report report-system): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report report-system): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
both (sw_engine) and (gnucash engine)
WARNING: (gnucash report report-system): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
both (sw_engine) and (gnucash engine)
WARNING: (gnucash report report-system): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report stylesheet-plain): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report stylesheet-fancy): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report stylesheet-footer): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report stylesheet-easy): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports daily-reports): imported module
(gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports account-summary): imported module
(gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports general-journal): imported module
(gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports advanced-portfolio): imported
module (gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports advanced-portfolio):
`GNC-DENOM-AUTO' imported from both (sw_engine) and (gnucash engine)
WARNING: (gnucash report standard-reports balance-sheet): imported module
(gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports category-barchart): imported
module (gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports budget-barchart): imported module
(gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports price-scatter): imported module
(gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports sx-summary): imported module
(gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports average-balance): imported module
(gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports equity-statement): imported
module (gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports transaction): imported module
(gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports budget-flow): imported module
(gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash report standard-reports account-piecharts): imported
module (gnucash app-utils) overrides core binding `N_'
WARNING: (gnucash business-utils): imported module (gnucash app-utils)
overrides core binding `N_'
WARNING: (gnucash business-utils): imported module (gnucash app-utils)
overrides core binding `N_'
WARNING: (gnucash report hello-world): imported module (gnucash app-utils)
overrides core binding `N_'
WARNING: (gnucash report view-column): imported module (gnucash app-utils)
overrides core binding `N_'
WARNING: (gnucash report welcome-to-gnucash): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report report-gnome): imported module (gnucash app-utils)
overrides core binding `N_'
WARNING: (gnucash report business-reports): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report fancy-invoice): imported module (gnucash
app-utils) overrides core binding `N_'
WARNING: (gnucash report invoice): imported 

Re: Git Migration: github with svn access

2011-11-11 Thread Geert Janssens
On vrijdag 11 november 2011, Yawar Amin wrote:
 Hi Geert,
 
 On 2011-11-11, at 11:47, Geert Janssens wrote:
  […]
  
  Is there a way to create a branch via the github interface ? Or do I have
  to create one on my local repo and push it ? I didn't seem to find a
  feature on the website, but perhaps I missed it. I'm not very
  comfortable yet with te remote repo handling in git, so I prefer to ask
  before messing things up.
 
 You can do the latter.
 
 # In your local repo
 git branch master remotes/origin/trunk
 git push origin master
 
Ok, I created a master branch, but svn checkout still fails with the same 
error. I guess we'll have to wait for github's response to John's comment on 
the blog.

By the way how do I remove the branch again ? I have been seaching for a way 
to do that before, but didn't find it.

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: 2.4.8 git /w guile 2.0

2011-11-11 Thread Ted Creedon
here's the trace file
 10:04:12  INFO gnc.engine [gnc_hook_lookup] no hook lists
* 10:04:12  INFO qof.engine [init_from_file] guid_init got 512 bytes from
/dev/urandom
* 10:04:12  INFO qof.engine [init_from_file] guid_init got 1375 bytes
from /etc/passwd
* 10:04:12  INFO qof.engine [init_from_file] guid_init got 27 bytes from
/proc/loadavg
* 10:04:12  INFO qof.engine [init_from_file] guid_init got 1170 bytes
from /proc/meminfo
* 10:04:12  INFO qof.engine [init_from_file] guid_init got 571 bytes from
/proc/net/dev
* 10:04:12  INFO qof.engine [init_from_file] guid_init got 4096 bytes
from /proc/self/environ
* 10:04:12  INFO qof.engine [init_from_file] guid_init got 236 bytes from
/proc/self/stat
* 10:04:12  INFO qof.engine [init_from_file] guid_init got 3041 bytes
from /proc/stat
* 10:04:12  INFO qof.engine [init_from_file] guid_init got 19 bytes from
/proc/uptime
* 10:04:12  INFO qof.engine [guid_init] got 38589 bytes
* 10:04:12  INFO gnc.backend.dbi [gnc_module_init_backend_dbi]
GNC_DBD_DIR not set: using libdbi built-in default
* 10:04:12  INFO gnc.backend.dbi [gnc_module_init_backend_dbi] 3 DBD
drivers found
* 10:04:12  INFO gnc.backend.dbi [gnc_module_init_backend_dbi] Driver:
mysql
* 10:04:12  INFO gnc.backend.dbi [gnc_module_init_backend_dbi] Driver:
sqlite3
* 10:04:12  INFO gnc.backend.dbi [gnc_module_init_backend_dbi] Driver:
pgsql
* 10:04:14 MESSG gnc.module Could not locate optional module
gnucash/import-export/aqbanking interface v.0
* 10:04:15 DEBUG gnc.scm dir-files=(daily-reports.scm account-summary.scm
general-journal.scm advanced-portfolio.scm balance-sheet.scm
category-barchart.scm budget-barchart.scm price-scatter.scm sx-summary.scm
average-balance.scm equity-statement.scm transaction.scm budget-flow.scm
account-piecharts.scm balsheet-eg.scm register.scm
budget-income-statement.scm general-ledger.scm cash-flow.scm portfolio.scm
trial-balance.scm budget.scm budget-balance-sheet.scm net-barchart.scm
income-statement.scm)
* 10:04:15 DEBUG gnc.scm processed=(daily-reports account-summary
general-journal advanced-portfolio balance-sheet category-barchart
budget-barchart price-scatter sx-summary average-balance equity-statement
transaction budget-flow account-piecharts balsheet-eg register
budget-income-statement general-ledger cash-flow portfolio trial-balance
budget budget-balance-sheet net-barchart income-statement)
* 10:04:15 DEBUG gnc.scm report-list=(daily-reports account-summary
general-journal advanced-portfolio balance-sheet category-barchart
budget-barchart price-scatter sx-summary average-balance equity-statement
transaction budget-flow account-piecharts balsheet-eg register
budget-income-statement general-ledger cash-flow portfolio trial-balance
budget budget-balance-sheet net-barchart income-statement)


On Fri, Nov 11, 2011 at 10:11 AM, Ted Creedon tcree...@easystreet.netwrote:

 here's what I did, it it correct?

 git clone git://github.com/Gnucash/gnucash.git
 cd gnucash/
 ./autogen.sh
 ./configure --enable-debug --disable-error-on-warning  #won't
 compile without this disable switch
  make

 gnucash --version

 gnc.bin-Message: main: binreloc relocation support was disabled at
 configure time.

 GnuCash 2.4.99 development version
 Built 2011-11-08 from r872d437+


 rm -rf /root/.cache/guile/;GUILE_AUTO_COMPILE=0 gnucash --debug --extra
 --log=gnc.scm=debug
 gnc.bin-Message: main: binreloc relocation support was disabled at
 configure time.

 This is a development version. It may or may not work.
 Report bugs and other problems to gnucash-devel@gnucash.org.
 You can also lookup and file bug reports at http://bugzilla.gnome.org
 The last stable version was GnuCash 2.4.7
 The next stable version will be GnuCash 2.6

 WARNING: (gnucash import-export qif-import): `GNC-DENOM-AUTO' imported
 from both (sw_engine) and (gnucash engine)
 WARNING: (gnucash import-export qif-import): `gnc-build-dotgnucash-path'
 imported from both (sw_engine) and (gnucash core-utils)
 WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
 both (sw_engine) and (gnucash engine)
 WARNING: (gnucash report report-system): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report report-system): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
 both (sw_engine) and (gnucash engine)
 WARNING: (gnucash report report-system): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
 both (sw_engine) and (gnucash engine)
 WARNING: (gnucash report report-system): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report stylesheet-plain): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report stylesheet-fancy): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report stylesheet-footer): 

Re: 2.4.8 git /w guile 2.0

2011-11-11 Thread Geert Janssens
On vrijdag 11 november 2011, Ted Creedon wrote:
 here's what I did, it it correct?
 
 git clone git://github.com/Gnucash/gnucash.git
 cd gnucash/
 ./autogen.sh
 ./configure --enable-debug --disable-error-on-warning  #won't
 compile without this disable switch
  make
 
 gnucash --version
 gnc.bin-Message: main: binreloc relocation support was disabled at
 configure time.
 
 GnuCash 2.4.99 development version
 Built 2011-11-08 from r872d437+
 
This is not the most recent git commit, but recent enough. It does have the 
maxdepth bug fix.

git checkout trunk
git-update (the perl script you displayed before)
should get you to the latest commit.

I'll have to investigate the new errors you report below.

Geert

 
 rm -rf /root/.cache/guile/;GUILE_AUTO_COMPILE=0 gnucash --debug --extra
 --log=gnc.scm=debug
 gnc.bin-Message: main: binreloc relocation support was disabled at
 configure time.
 
 This is a development version. It may or may not work.
 Report bugs and other problems to gnucash-devel@gnucash.org.
 You can also lookup and file bug reports at http://bugzilla.gnome.org
 The last stable version was GnuCash 2.4.7
 The next stable version will be GnuCash 2.6
 
 WARNING: (gnucash import-export qif-import): `GNC-DENOM-AUTO' imported from
 both (sw_engine) and (gnucash engine)
 WARNING: (gnucash import-export qif-import): `gnc-build-dotgnucash-path'
 imported from both (sw_engine) and (gnucash core-utils)
 WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
 both (sw_engine) and (gnucash engine)
 WARNING: (gnucash report report-system): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report report-system): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
 both (sw_engine) and (gnucash engine)
 WARNING: (gnucash report report-system): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
 both (sw_engine) and (gnucash engine)
 WARNING: (gnucash report report-system): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report stylesheet-plain): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report stylesheet-fancy): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report stylesheet-footer): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report stylesheet-easy): imported module (gnucash
 app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports daily-reports): imported module
 (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports account-summary): imported module
 (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports general-journal): imported module
 (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports advanced-portfolio): imported
 module (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports advanced-portfolio):
 `GNC-DENOM-AUTO' imported from both (sw_engine) and (gnucash engine)
 WARNING: (gnucash report standard-reports balance-sheet): imported module
 (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports category-barchart): imported
 module (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports budget-barchart): imported module
 (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports price-scatter): imported module
 (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports sx-summary): imported module
 (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports average-balance): imported module
 (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports equity-statement): imported
 module (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports transaction): imported module
 (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports budget-flow): imported module
 (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash report standard-reports account-piecharts): imported
 module (gnucash app-utils) overrides core binding `N_'
 WARNING: (gnucash business-utils): imported module (gnucash app-utils)
 overrides core binding `N_'
 WARNING: (gnucash business-utils): imported module (gnucash app-utils)
 overrides core binding `N_'
 WARNING: (gnucash report hello-world): imported module (gnucash app-utils)
 overrides core binding `N_'
 WARNING: (gnucash report view-column): imported module (gnucash app-utils)
 overrides core binding `N_'
 WARNING: (gnucash report welcome-to-gnucash): imported module 

Re: 2.4.8 git /w guile 2.0

2011-11-11 Thread Ted Creedon
GUILE_WARN_DEPRECATED=detailed make check
cut =
PASS: test-load-c
FAIL: test-load-scm
PASS: test-gwrapped-c
PASS: test-scm-module
FAIL: test-scm-multi
FAIL: test-load-deps


On Fri, Nov 11, 2011 at 10:33 AM, Geert Janssens
janssens-ge...@telenet.bewrote:

 On vrijdag 11 november 2011, Ted Creedon wrote:
  here's what I did, it it correct?
 
  git clone git://github.com/Gnucash/gnucash.git
  cd gnucash/
  ./autogen.sh
  ./configure --enable-debug --disable-error-on-warning  #won't
  compile without this disable switch
   make
 
  gnucash --version
  gnc.bin-Message: main: binreloc relocation support was disabled at
  configure time.
 
  GnuCash 2.4.99 development version
  Built 2011-11-08 from r872d437+
 
 This is not the most recent git commit, but recent enough. It does have the
 maxdepth bug fix.

 git checkout trunk
 git-update (the perl script you displayed before)
 should get you to the latest commit.

 I'll have to investigate the new errors you report below.

 Geert

 
  rm -rf /root/.cache/guile/;GUILE_AUTO_COMPILE=0 gnucash --debug --extra
  --log=gnc.scm=debug
  gnc.bin-Message: main: binreloc relocation support was disabled at
  configure time.
 
  This is a development version. It may or may not work.
  Report bugs and other problems to gnucash-devel@gnucash.org.
  You can also lookup and file bug reports at http://bugzilla.gnome.org
  The last stable version was GnuCash 2.4.7
  The next stable version will be GnuCash 2.6
 
  WARNING: (gnucash import-export qif-import): `GNC-DENOM-AUTO' imported
 from
  both (sw_engine) and (gnucash engine)
  WARNING: (gnucash import-export qif-import): `gnc-build-dotgnucash-path'
  imported from both (sw_engine) and (gnucash core-utils)
  WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
  both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
  both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from
  both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report report-system): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-plain): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-fancy): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-footer): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report stylesheet-easy): imported module (gnucash
  app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports daily-reports): imported module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports account-summary): imported
 module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports general-journal): imported
 module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports advanced-portfolio): imported
  module (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports advanced-portfolio):
  `GNC-DENOM-AUTO' imported from both (sw_engine) and (gnucash engine)
  WARNING: (gnucash report standard-reports balance-sheet): imported module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports category-barchart): imported
  module (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports budget-barchart): imported
 module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports price-scatter): imported module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports sx-summary): imported module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports average-balance): imported
 module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports equity-statement): imported
  module (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports transaction): imported module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports budget-flow): imported module
  (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash report standard-reports account-piecharts): imported
  module (gnucash app-utils) overrides core binding `N_'
  WARNING: (gnucash business-utils): imported module (gnucash app-utils)
  overrides core binding `N_'
  WARNING: 

Scripting

2011-11-11 Thread Hendrik Boom

A few years ago I wanted some printouts of gnucash data formatted in a 
form that my wife and I could use.  It was frustrating to me that the 
easiest way to accomplish that was to reverse-engineer the gnucash file 
and hand-coding a C++ program that read in the XML file and further 
processed it.  The initial, usable, form of this program was written in C+
+ in about a day.  Over the years, I've embellished it in various ways, 
sometimes to change functionality, sometimes to accomodate subtle changes 
in the gnucash file format.

But it seems silly to duplicate stuff that's probably in gnucash itself, 
and is even maintained by the gnucash implementers.  And it's obvious 
that with the shift to a database, I should consider reading the database 
instead of the (probably derivative and deprecated) XML file.

I had looked at the gnucash source code, but I found it much harder to 
understand than the XML file itself.  I had asked for information about 
an API for understanding the internal gnucash state and was referred to 
some (IIRC machine-generated) documentation.  It didn't help much 
either.  In particular, it didn't make it clear what I had to do to set 
up the internal gnucash state that it was reporting on.  While a fine API 
for code that ws embedded within gnucash, it didn't really suffice for  
external code.

And looking at the guile interface for reports didn't help much  either, 
even though I was an experienced Lisp/Scheme programmer.  At the time (is 
this still the case?) the only usable documentation to the reporting 
subsystem was the source code for the reports themselves.  This 
definitely wasn't enough.  The report code was full of functions with 
obscure names and equally obscure significance.

  This isn't a problem with Scheme being a difficult language to learn.  
It isn't difficult.  It can be learned by a competent programmer in a day 
or two.  It's a problem with obscurity of the API the reporting subsystem 
provides to the Scheme programmer.

In subsequent years I've wanted to produce report output in forms other 
than HTML, which, as far as I know, is the only one supported by gnucash.

I've also wanted to write some custom data-entry software for getting 
data into gnucash.

Now presumably, given enough time, I'd have been able to overcome these 
obstacles to interfacing with gnucash code the way it obviously wants to 
be used.  But, of course, at the moments I was faced with the need to 
produce, there wasn't enough time.

***

Now I'm not really interested in just complaining.  If you'll forgive a 
lurker, but long-time user, from speaking up, let me at least make a 
proposal.  Yes, I know it will probably be a lot of work, and who will be 
found to do it, etc.  What I'd like to hear is whether there are serious 
flaws here, and whether it's ever likely to gain the social support to 
make it worthwhile to try, etc.

(1) The bulk of the code for gnucash should be a shared library, whose API
(s) provide all the essential functionality of gnucash.  This would 
include code for starting up gnucash, shutting it down, reading gnucash 
fies, opeining the usual gnucash window, and so forth.  The current work 
of converting ad-hoc code to use Gobjects could go a long way to making 
this API consistent. 

(2) The gnucash main program itself should operate entirely by using this 
library's API.

Maybe (1) and (2) is how gnucash is already structured; I don't know.

(3) This library would be the basis for scripting interfaces to gnucash.  
The API would make the gnucash library itself indifferent to the 
scripting language being used.  Of course, the API must still be clearly 
documented, or it will be practically useless.  Documentation in the 
header files may suffice.



It's worth noting here that some systems that can be used as scripting 
languages are capable of handling the C and C++ interfacing on their own, 
requiring no significant footprint in the gnucash library itself.  (I'm 
thinking specifically  about Gambit C here, which is an implementation of 
Scheme taht can compile to C.  No doubt there are others.)

Other languages that different users might want to use on top of gnucash? 
JavaScript, Python, Ruby and Erlang have been mentioned as languages that 
are in the Lisp camp as far as semantics goes.  Several of them are 
interpreted.  Google has recently put out a language that's designed for 
programs that partly run on a server and partly on a browser.  Accessing 
gnucash from a browser, even only read-only, could be useful.

But now I'm getting far in advance of myself.  I'm currently arguing only 
for a clear, conprehensive, documented API that others could use to build 
their own edifices on top of gnucash.  That would open the gates to all 
kinds of unexpected collaborations.

-- hendrik

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Git Migration: github with svn access

2011-11-11 Thread Yawar Amin
Hi Geert, run:

git push origin :master

This pushes an empty branch name (the part before the colon) from your local 
repo to the master branch of the origin repo, effectively deleting it.

Regards,

Yawar


Geert Janssens janssens-ge...@telenet.be wrote:

On vrijdag 11 november 2011, Yawar Amin wrote:
 Hi Geert,
 
 On 2011-11-11, at 11:47, Geert Janssens wrote:
  […]
  
  Is there a way to create a branch via the github interface ? Or do I have
  to create one on my local repo and push it ? I didn't seem to find a
  feature on the website, but perhaps I missed it. I'm not very
  comfortable yet with te remote repo handling in git, so I prefer to ask
  before messing things up.
 
 You can do the latter.
 
 # In your local repo
 git branch master remotes/origin/trunk
 git push origin master
 
Ok, I created a master branch, but svn checkout still fails with the same 
error. I guess we'll have to wait for github's response to John's comment on 
the blog.

By the way how do I remove the branch again ? I have been seaching for a way 
to do that before, but didn't find it.

Geert

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel