Merrifield Adam | 1 Nov 2011 14:51
Picon
Gravatar

Debian Package questions

I've installed the distributed package (ubuntu) and realized that the feature set differs quite a lot from
the development version. How does one initiate a be repo without an init command? The man pages are not
entirely clear on that. Is it the "set-root" command?

Adam Merrifield
seyDoggy vCard: seydoggy.com/vcard
Merrifield Adam | 1 Nov 2011 18:28
Picon
Gravatar

Distributed repos over ssh

I have bugs-everywhere installed on my server (not the debian package anymore, but the developer source)
and installed on my local system. I would like to be able submit new bugs on the server through ssh, not http.
Is this possible?

Adam Merrifield
seyDoggy vCard: seydoggy.com/vcard
Valtteri Kokkoniemi | 2 Nov 2011 15:55
Picon
Picon
Favicon
Gravatar

Re: Distributed repos over ssh

On Tue, Nov 1, 2011 at 7:28 PM, Merrifield Adam <macagp <at> gmail.com> wrote:
> I have bugs-everywhere installed on my server (not the debian package anymore, but the developer source)
and installed on my local system. I would like to be able submit new bugs on the server through ssh, not http.
Is this possible?

How about cloning the (I assume) git repo from the server, making
local be operations against the copy and then pushing?

--

-- 
Valtteri Kokkoniemi
050 3233 707 / rvk <at> iki.fi / oh2fik
http://www.iki.fi/rvk/
W. Trevor King | 8 Nov 2011 13:23
Picon
Favicon

Re: make install woes

On Sun, Oct 30, 2011 at 11:36:31AM -0400, Merrifield Adam wrote:
> 1) the docs for "be" install are pants. :)
> 
> 2) a dependency list would be so helpful

There is a dependency list in doc/install.txt.  It has not always been
complete, but we try and update it whenever something's found to be
missing.

> 3) after finally installing sphinx, circumventing docs and all the other typical (googleable) issues, I
get to a point where I get this upon make install:

As discussed in doc/install.txt, you can build BE without the docs with

  $ make DOC= install

> -bash: be: command not found

The current Makefile in my branch installs with the `--user` option,
so the BE modules should be dumped into
  ~/.local/lib/python2.7/site-packages
If you install there, you shouldn't need to tweak your `PYTHONPATH`,
but you may need to add
  ~/.local/bin/
to your `PATH`.

The local default assumes that users wanting a system-wide
installation will use their system's package manager, and users using
the Makefile directly will want a per-user install.

(Continue reading)

W. Trevor King | 8 Nov 2011 13:55
Picon
Favicon

Re: Distributed repos over ssh

On Tue, Nov 01, 2011 at 01:28:22PM -0400, Merrifield Adam wrote:
> I have bugs-everywhere installed on my server (not the debian
> package anymore, but the developer source) and installed on my local
> system. I would like to be able submit new bugs on the server
> through ssh, not http. Is this possible?

If you are talking about bugs in BE, you should probably email the
list.  I don't know how regularly Chris checks for new bugs at
  http://bugs.bugseverywhere.org/
Hmm, it looks like he may no longer be running a BE server there
anyway...

If the BE server is set up with `--ssl`, you can use HTTPS to send
encrypted submissions.

On Wed, Nov 02, 2011 at 04:55:08PM +0200, Valtteri Kokkoniemi wrote:
> How about cloning the (I assume) git repo from the server, making
> local be operations against the copy and then pushing?

This is the best way if you have push access to the remote repository.

--

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
(Continue reading)

Chris Ball | 8 Nov 2011 14:22
Favicon
Gravatar

Re: Distributed repos over ssh

Hi,

On Tue, Nov 08 2011, W. Trevor King wrote:
> If you are talking about bugs in BE, you should probably email the
> list.  I don't know how regularly Chris checks for new bugs at
>   http://bugs.bugseverywhere.org/
> Hmm, it looks like he may no longer be running a BE server there
> anyway...

Oops, thanks, restarted.

- Chris.
--

-- 
Chris Ball   <cjb <at> laptop.org>   <http://printf.net/>
One Laptop Per Child
Stickman | 13 Nov 2011 19:27
Picon

Trouble installing BE on mac osx (10.7)

I'm working on installing be on my Mac. When I test install (sudo make test) I get 8 failures and 1 error.
I am very green at this kind of thing and am not sure what to do. Below is the report. Any suggestions would be greatly appreciated.

======================================================================
ERROR: test_get (libbe.storage.http.GetPostUrlTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/stickman/github/be/libbe/storage/http.py", line 339, in test_get
    page,final_url,info = get_post_url(url=url)
  File "/Users/stickman/github/be/libbe/storage/http.py", line 118, in get_post_url
    raise InvalidURL(error=e, url=url, msg=msg)
InvalidURL: The server couldn't fulfill the request.
URL: http://bugseverywhere.org/be/show/HomePage
Error code: 404

======================================================================
FAIL: get_command (libbe.command.base)
Doctest: libbe.command.base.get_command
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2166, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for libbe.command.base.get_command
  File "/Users/stickman/github/be/libbe/command/base.py", line 68, in get_command

----------------------------------------------------------------------
File "/Users/stickman/github/be/libbe/command/base.py", line 71, in libbe.command.base.get_command
Failed example:
    try:
        get_command('asdf')
    except UnknownCommand, e:
        print e
Expected:
    Unknown command 'asdf'
Got:
    Unknown command 'asdf'
    (No module named asdf)


======================================================================
FAIL: test_get_redirect (libbe.storage.http.GetPostUrlTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/stickman/github/be/libbe/storage/http.py", line 349, in test_get_redirect
    % (expected, final_url))
AssertionError: Redirect?
  Expected: "http://bugseverywhere.org/be/show/HomePage"
  Got:      "http://bugseverywhere.org"

======================================================================
FAIL: test_installed (libbe.storage.vcs.base.ArchVCS_installed_TestCase)
See if the VCS is installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/stickman/github/be/libbe/storage/vcs/base.py", line 1042, in test_installed
    '%(name)s VCS not found' % vars(self.Class))
AssertionError: arch VCS not found

======================================================================
FAIL: test_installed (libbe.storage.vcs.base.BzrVCS_installed_TestCase)
See if the VCS is installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/stickman/github/be/libbe/storage/vcs/base.py", line 1042, in test_installed
    '%(name)s VCS not found' % vars(self.Class))
AssertionError: bzr VCS not found

======================================================================
FAIL: test_installed (libbe.storage.vcs.base.DarcsVCS_installed_TestCase)
See if the VCS is installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/stickman/github/be/libbe/storage/vcs/base.py", line 1042, in test_installed
    '%(name)s VCS not found' % vars(self.Class))
AssertionError: darcs VCS not found

======================================================================
FAIL: test_installed (libbe.storage.vcs.base.HgVCS_installed_TestCase)
See if the VCS is installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/stickman/github/be/libbe/storage/vcs/base.py", line 1042, in test_installed
    '%(name)s VCS not found' % vars(self.Class))
AssertionError: hg VCS not found

======================================================================
FAIL: test_installed (libbe.storage.vcs.base.MonotoneVCS_installed_TestCase)
See if the VCS is installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/stickman/github/be/libbe/storage/vcs/base.py", line 1042, in test_installed
    '%(name)s VCS not found' % vars(self.Class))
AssertionError: monotone VCS not found

======================================================================
FAIL: Pipe (libbe.util.subproc)
Doctest: libbe.util.subproc.Pipe
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2166, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for libbe.util.subproc.Pipe
  File "/Users/stickman/github/be/libbe/util/subproc.py", line 98, in Pipe

----------------------------------------------------------------------
File "/Users/stickman/github/be/libbe/util/subproc.py", line 109, in libbe.util.subproc.Pipe
Failed example:
    p.stdout
Expected:
    '/etc/ssh\n'
Got:
    ''
----------------------------------------------------------------------
File "/Users/stickman/github/be/libbe/util/subproc.py", line 113, in libbe.util.subproc.Pipe
Failed example:
    p.statuses
Expected:
    [1, 0]
Got:
    [0, 1]
----------------------------------------------------------------------
File "/Users/stickman/github/be/libbe/util/subproc.py", line 115, in libbe.util.subproc.Pipe
Failed example:
    p.stderrs # doctest: +ELLIPSIS
Expected:
    [...find: ...: Permission denied..., '']
Got:
    ['', '']


----------------------------------------------------------------------
Ran 298 tests in 12.076s

FAILED (failures=8, errors=1)
make: *** [test] Error 9

_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
Phil Schumm | 13 Nov 2011 20:22
Favicon
Gravatar

Re: Trouble installing BE on mac osx (10.7)

On Nov 13, 2011, at 12:27 PM, Stickman wrote:
> I'm working on installing be on my Mac.

Forgot to mention that I am happily using be on OS X 10.7.2, so it is worth persevering.

-- Phil
Phil Schumm | 13 Nov 2011 20:17
Favicon
Gravatar

Re: Trouble installing BE on mac osx (10.7)

On Nov 13, 2011, at 12:27 PM, Stickman wrote:
> I'm working on installing be on my Mac. When I test install (sudo make test) I get 8 failures and 1 error. I am
very green at this kind of thing and am not sure what to do. Below is the report. Any suggestions would be
greatly appreciated.

Several of these failures are because you don't have the corresponding VCS installed (i.e., Arch, Bazaar,
Darcs, Mercurial and Monotone), and are thus to be expected (if you really don't have them installed, or if
be can't find them).  One of the errors (test_get) and another failure (test_get_redirect) are network
related; these will both fail (with different messages) if you do not have an internet connection.  I can't
immediately tell (from the tracebacks) what the problem is in your case, but others might be able to (you
might be able to ignore these if you're using be locally).  The test (libbe.util.subproc.Pipe) fails for
me too, and I haven't had a chance yet to look into why -- FWIW, I haven't noticed any problems in using be
despite this.  Finally, the failure for get_command is a
  minor error in the test itself (it's expecting "Unknown command 'asdf'" but getting "Unknown command
'asdf' (No module named asdf)"), and can be ignored without consequence.

-- Phil
Stickman | 13 Nov 2011 20:40
Picon

Re: Trouble installing BE on mac osx (10.7)

Thanks Adam and Phil.
I just finally upgraded to Lion a few days ago. Trying to catch up with Adam on this stuff.
So I got Trevor Kings repo and came up with one error when running "sudo make test"

  File "/Users/stickman/github/be/libbe/storage/util/config.py", line 34, in <module>
    default_encoding = libbe.util.encoding.get_filesystem_encoding()
AttributeError: 'module' object has no attribute 'get_filesystem_encoding'
make: *** [test] Error 1

Is this something to be concerned about?


On Sun, Nov 13, 2011 at 2:22 PM, Phil Schumm <pschumm <at> uchicago.edu> wrote:
On Nov 13, 2011, at 12:27 PM, Stickman wrote:
> I'm working on installing be on my Mac.



Forgot to mention that I am happily using be on OS X 10.7.2, so it is worth persevering.


-- Phil


_______________________________________________
Be-devel mailing list
Be-devel <at> bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel

Gmane