maxb | hbeck: An updated package is currently building, which should hopefully resolve the issue | 00:03 |
---|---|---|
NielsD | is there a api in bzrlib to access the toplevel repository, in a local sandbox environmen ? | 00:06 |
bignose | NielsD: what is a “local sandbox environment”? how is it different from just a normal branch? | 00:22 |
NielsD | i have a repo holding a trunk, and feature1, feature2 for example, repo is initialized using bzr init-repo --no-trees | 00:25 |
NielsD | and i'm looking for a way to find the repo path from trunk, or any branch in the repo | 00:25 |
bignose | NielsD: from Python API, or from command-line? | 00:26 |
NielsD | api | 00:27 |
bignose | I don't know :-) someone else will need to answer. | 00:27 |
bignose | NielsD: you could begin looking at how ‘bzr info’ gets the repository location. | 00:27 |
NielsD | yeah, that's what i'm looking at now, realized it when i thought of the cli command :) | 00:28 |
bignose | chx: the code to figure out which editor to use can be seen in ‘bzrlib.msgeditor._get_editor’ | 00:32 |
bignose | chx: as best I can tell, the cascade is: ‘BZR_EDITOR’, global Bazaar config ‘editor’, ‘VISUAL’, ‘EDITOR’, then a sequence of defaults to try depending on the OS. | 00:33 |
bignose | chx: so, I suspect the environment variables are not actually set to the values you think they are, and it's falling back to defaults. | 00:34 |
chx | hrm i tried echo $BZR_EDITOR echo $VISUAL | 00:34 |
chx | both came back empty | 00:35 |
chx | but $EDITOR was definitely nano | 00:35 |
bignose | chx: if you can understand Python, the module I mentioned is the one which decides what to do. | 00:35 |
bignose | chx: so have a look, it might be different on your system (maybe the behaviour changed between the versions we're running | 00:36 |
chx | bignose: i understnad Python but i can't write Python, i will check | 00:40 |
maxb | hbeck: There's an updated qbzr package in bzr/proposed that should help | 02:12 |
hbeck | maxb: thanks, I'll take a look | 02:14 |
=== Ursinha-afk is now known as Ursinha | ||
=== Ursinha is now known as Ursinha-afk | ||
DrHalan | hey, i need some help setting up a bzr server | 17:04 |
maxb | DrHalan: OK, what sort of help and what sort of server? | 17:07 |
DrHalan | i have a remote linux (ubuntu) server i access via ssh and i want to setup a bzr repository on that remote server to backup my code | 17:09 |
maxb | If Bazaar and SSH are both installed on the server, you do not need to do anything at all to start using bzr+ssh://user@host/path URLs | 17:16 |
DrHalan | sorry my xserver crashed :/ | 17:21 |
DrHalan | are there any good tutorials on how to setup a bzr server? | 17:23 |
DrHalan | maybe someone already answered it but i lost the conversation due to the crash... | 17:23 |
maxb | If Bazaar and SSH are both installed on the server, you do not need to do anything at all to start using bzr+ssh://user@host/path URLs | 17:27 |
DrHalan | i just init a bzr repostiory on the server and then i can push to it ? | 17:29 |
maxb | Yes, and you don't even have to be on the server for the init step | 17:30 |
maxb | You can run bzr init-repo with a remote URL | 17:30 |
maxb | Technically you don't even need to create a repository first (in the absence of a shared repository each branch uses an internal repository) but it's usually advisable to take advantage of the space and bandwidth savings | 17:31 |
DrHalan | maxb, thats pretty straightforward :) and how do i add an ssh key to a new user on the server? (don't want to use the rootuser to push to my server) | 17:37 |
maxb | Did you intend anything bzr-specific in that question, or are you asking about generic OpenSSH usage? | 17:39 |
DrHalan | guess its a generic openssh question | 17:39 |
maxb | So, create the user, add the public key to ~/.ssh/authorized_keys ? | 17:40 |
DrHalan | okay :) | 17:40 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!