Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#13279 closed (fixed)

Documentation that needs a small expansion

Reported by: KathyManwaring Owned by: nobody
Component: Documentation Version: 1.1
Severity: Keywords:
Cc: ben@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This issue relates to this page: http://docs.djangoproject.com/en/dev/topics/install/#installing-development-version

This has two references in file paths to 'pwd'. Unfortunately, being a newbie to Linux, I typed this exactly, including the quotes, as there was no note to change this to my actual environment. This meant that I had to delete the links and recreate them once I worked out what was actually meant.

It would be nice if a note was included to replace that with your working directory, like the note to change SITE-PACKAGES-DIR.

Attachments (1)

explicit-ln-path.diff (1.3 KB ) - added by stumbles 15 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 by Russell Keith-Magee, 15 years ago

Triage Stage: UnreviewedAccepted

comment:2 by stumbles, 15 years ago

The commands with pwd are intended to be run unmodified (pwd is a sub-command that prints the name of the directory you're in - a shortcut to save typing in this case).

This command relies on being run in the same directory that the "svn co" command was run in. My first instinct after checking out some files is to "cd" into the new directory and have a poke around. In this case the pwd shortcut wouldn't work for me. This is a neat shortcut, but perhaps it would be less troublesome to just spell out that the full path to the new "django-trunk/django" directory must be used.

by stumbles, 15 years ago

Attachment: explicit-ln-path.diff added

comment:3 by stumbles, 15 years ago

Component: UncategorizedDocumentation
Has patch: set

comment:4 by Adam Nelson, 15 years ago

pwd with the backticks should be interpreted by the command line and use the working directory (the directory you're in now). You must have manually copied the backquotes into tick marks - simply copying and pasting the command would have worked fine.

Or am I missing something?

comment:5 by stumbles, 14 years ago

Adamnelson, you're correct, pasting should have worked fine. I think the patch is a useful change though, as people installing Django may not understand the significance of backticks or the shell command "pwd". Making this one-liner more explicit should hopefully reduce the chance of problems or at least give the person a better chance of figuring it out themselves.

comment:6 by stumbles, 14 years ago

Cc: ben@… added

comment:7 by Adam Nelson, 14 years ago

In that case, can the patch keep the backticks but add a note explaining that backticks are interpreted by the shell and maybe link here:

http://tldp.org/LDP/abs/html/commandsub.html

comment:8 by stumbles, 14 years ago

I think using pwd is an unnecessary complication here. Better to just be explicit.

comment:9 by Tim Graham, 14 years ago

Triage Stage: AcceptedReady for checkin

comment:10 by Gabriel Hurley, 14 years ago

Resolution: fixed
Status: newclosed

(In [14062]) Fixed #13279 -- Made the paths in the Unix install docs more explicit. Thanks to KathyManwaring for the report and stumbles for the patch.

comment:11 by Gabriel Hurley, 14 years ago

(In [14063]) [1.2.X] Fixed #13279 -- Made the paths in the Unix install docs more explicit. Thanks to KathyManwaring for the report and stumbles for the patch.

Backport of [14062] from trunk.

Note: See TracTickets for help on using tickets.
Back to Top