Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
1
answers
125
views
Emacs won't open file in Bazaar repository
I have a [Bugzilla][2] installation, and am trying to open `/Bugzilla/Install/CPAN.pm` using [emacs][3]. However, I get this error when attempting to do so: Searching for program: no such file or directory, bzr Why do I get that message? Why won't `emacs` load the file? How do I fix this problem? ED...
I have a Bugzilla installation, and am trying to open
/Bugzilla/Install/CPAN.pm
using emacs . However, I get this error when attempting to do so:
Searching for program: no such file or directory, bzr
Why do I get that message? Why won't emacs
load the file? How do I fix this problem?
EDITS:
I am trying to open it with the command emacs Bugzilla/Install/CPAN.pm
while in the bugzilla
directory.

MirroredFate
(167 rep)
Dec 3, 2013, 07:27 PM
• Last activity: Mar 9, 2019, 12:42 PM
2
votes
2
answers
144
views
Multiple ssh access types from a given user1/client to the same user2/server
I want to access from one user/client combination (say, `user1@cl`) to a user/server combination (say, `user2@srv`) via ssh, with two different types of Access: 1. Access type #1 would be restricted to interactions with a bazaar repository. For this, I added a line (#1) in `~user2/.ssh/authorized_ke...
I want to access from one user/client combination (say,
command="bzr serve --inet --directory=/repodir --allow-writes",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-rsa ... user1@cl 2. Access type #2 would be a login shell. For this, I added a "usual" line (#2) in
ssh-rsa ... user1@cl As I understand, and as I tested, both lines cannot be used simultaneously. I.e., if line #1 appears first in
user1@cl
) to a user/server combination (say, user2@srv
) via ssh, with two different types of Access:
1. Access type #1 would be restricted to interactions with a bazaar repository.
For this, I added a line (#1) in ~user2/.ssh/authorized_keys
like
command="bzr serve --inet --directory=/repodir --allow-writes",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-rsa ... user1@cl 2. Access type #2 would be a login shell. For this, I added a "usual" line (#2) in
~user2/.ssh/authorized_keys
like
ssh-rsa ... user1@cl As I understand, and as I tested, both lines cannot be used simultaneously. I.e., if line #1 appears first in
~user2/.ssh/authorized_keys
, then I would be able to interact with the bzr repo, but I will not be able to do
[user1@cl]$ ssh user2@srv
If line #2 appears first in ~user2/.ssh/authorized_keys
, then I would be able to do ssh
, but any bzr
operation gives
bzr: ERROR: Not a branch ...
**Is there any way to work this out?**
I am using RHEL7, but I guess this is not important.
Related posts (but not addressing my case, as I understand):
https://stackoverflow.com/questions/2419566/best-way-to-use-multiple-ssh-private-keys-on-one-client
https://serverfault.com/questions/142997/what-options-can-be-put-into-a-ssh-authorized-keys-file
https://serverfault.com/questions/749474/ssh-authorized-keys-command-option-multiple-commands
https://askubuntu.com/questions/1962/how-can-multiple-private-keys-be-used-with-ssh
sancho.s ReinstateMonicaCellio
(2998 rep)
Sep 1, 2017, 11:05 AM
• Last activity: Sep 1, 2017, 05:55 PM
1
votes
0
answers
989
views
Install Inkscape 0.91 on Debian Weezy
There is no Debian Wheezy build of latest (0.91) stable version of Inkscape (https://inkscape.org/en/download/linux/). So i can't use Apt. I have try to obtain source code using Bazaar. First I install bzr: apt-get install bzr Then I use command bzr branch lp:inkscape And I have got ~400mb of files....
There is no Debian Wheezy build of latest (0.91) stable version of Inkscape (https://inkscape.org/en/download/linux/) . So i can't use Apt.
I have try to obtain source code using Bazaar.
First I install bzr:
apt-get install bzr
Then I use command
bzr branch lp:inkscape
And I have got ~400mb of files.
But I can't find any
./configure
files, and make
command doesn't work.
Is it possible to have Inkscape 0.91 on Debian 7. And what is the easiest way?
vatavale
(111 rep)
Jul 8, 2015, 06:20 PM
• Last activity: Jan 6, 2017, 06:49 AM
3
votes
1
answers
320
views
zsh completion and unknow bzr commands
ZSH's Bazaar completion does not offer any expansion/completion when it does not know the `bzr` subcommand I am using. In my case, I use `bzr qlog` but ZSH's `/usr/share/zsh/5.0.2/functions/_bzr` does not know about this command. As far as I can tell it ends up returning nothing from completion func...
ZSH's Bazaar completion does not offer any expansion/completion when it does not know the
bzr
subcommand I am using. In my case, I use bzr qlog
but ZSH's /usr/share/zsh/5.0.2/functions/_bzr
does not know about this command. As far as I can tell it ends up returning nothing from completion function:
(*)
_message "unknown bzr command completion: $cmd"
return 1
;;
At this point I have employed a hack like this to make it complete with file names:
(*)
_message "unknown bzr command completion: $cmd"
args+=( '*:FILE:_files' )
#return 1
;;
Is there any better way how to do this?
wilx
(618 rep)
Dec 11, 2013, 09:37 AM
• Last activity: Dec 12, 2013, 01:16 AM
1
votes
1
answers
288
views
bzr get last commit message using bash
I am using bash to try and get the last commit message of the most recent revision on a tree. In the documentation the closest thing I found was: bzr log -l 1 --line Which outputs: 45: Firstname Lastname 2013-11-20 some message here I want to use bash regex to extract the message however the fact th...
I am using bash to try and get the last commit message of the most recent revision on a tree. In the documentation the closest thing I found was:
bzr log -l 1 --line
Which outputs:
45: Firstname Lastname 2013-11-20 some message here
I want to use bash regex to extract the message however the fact that the name field can be:
Firstname Lastname
Firstname Initial Lastname
Firstname Lastname
Initials
Username
Username
It makes it a lot harder. I don't need you to build me a regex I would just like to know:
1. If bazaar has some command that shows the message (cant find in http://doc.bazaar.canonical.com/bzr.2.5/en/user-reference/index.html)
2. Should I use regex and use the date as the anchor to parse out message?
rvk
(11 rep)
Jun 28, 2013, 03:51 PM
• Last activity: Jun 28, 2013, 04:35 PM
Showing page 1 of 5 total questions