Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
f54519d9
Kaydet (Commit)
f54519d9
authored
Nis 01, 2002
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update to push the docs to python.org instead of python.sf.net.
üst
6169f09d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
push-docs.sh
Doc/tools/push-docs.sh
+6
-3
update-docs.sh
Doc/tools/update-docs.sh
+6
-6
No files found.
Doc/tools/push-docs.sh
Dosyayı görüntüle @
f54519d9
...
@@ -3,7 +3,10 @@
...
@@ -3,7 +3,10 @@
# Script to push docs from my development area to SourceForge, where the
# Script to push docs from my development area to SourceForge, where the
# update-docs.sh script unpacks them into their final destination.
# update-docs.sh script unpacks them into their final destination.
TARGET
=
python.sourceforge.net:/home/users/f/fd/fdrake/tmp
TARGETHOST
=
www.python.org
TARGETDIR
=
/usr/home/fdrake/tmp
TARGET
=
"
$TARGETHOST
:
$TARGETDIR
"
ADDRESSES
=
'python-dev@python.org doc-sig@python.org python-list@python.org'
ADDRESSES
=
'python-dev@python.org doc-sig@python.org python-list@python.org'
...
@@ -68,7 +71,7 @@ make --no-print-directory bziphtml || exit $?
...
@@ -68,7 +71,7 @@ make --no-print-directory bziphtml || exit $?
RELEASE
=
`
grep
'^RELEASE='
Makefile |
sed
's|RELEASE=||'
`
RELEASE
=
`
grep
'^RELEASE='
Makefile |
sed
's|RELEASE=||'
`
PACKAGE
=
"html-
$RELEASE
.tar.bz2"
PACKAGE
=
"html-
$RELEASE
.tar.bz2"
scp
"
$PACKAGE
"
tools/update-docs.sh
$TARGET
/
||
exit
$?
scp
"
$PACKAGE
"
tools/update-docs.sh
$TARGET
/
||
exit
$?
ssh
python.sourceforge.net
tmp/update-docs.sh
$DOCTYPE
$PACKAGE
'&&'
rm
tmp/update-docs.sh
||
exit
$?
ssh
"
$TARGETHOST
"
tmp/update-docs.sh
$DOCTYPE
$PACKAGE
'&&'
rm
tmp/update-docs.sh
||
exit
$?
if
$ANNOUNCE
;
then
if
$ANNOUNCE
;
then
sendmail
$ADDRESSES
<<
EOF
sendmail
$ADDRESSES
<<
EOF
...
@@ -78,7 +81,7 @@ Subject: [$DOCLABEL doc updates]
...
@@ -78,7 +81,7 @@ Subject: [$DOCLABEL doc updates]
The
$DOCLABEL
version of the documentation has been updated:
The
$DOCLABEL
version of the documentation has been updated:
http://
python.sourceforge.net/
$DOCTYPE
-docs
/
http://
$TARGETHOST
/dev/doc/
$DOCTYPE
/
$EXPLANATION
$EXPLANATION
EOF
EOF
...
...
Doc/tools/update-docs.sh
Dosyayı görüntüle @
f54519d9
#! /bin/sh
#! /bin/sh
# Script which installs a development snapshot of the documentation
# Script which installs a development snapshot of the documentation
# into the
"Python @ SourceForge"
website.
# into the
development
website.
#
#
# The push-docs.sh script pushes this to the
SourceForge
when needed
# The push-docs.sh script pushes this to the
server
when needed
# and removes it when done.
# and removes it when done.
if
[
-z
"
$HOME
"
]
;
then
if
[
-z
"
$HOME
"
]
;
then
...
@@ -16,15 +16,15 @@ UPDATES="$HOME/tmp/$2"
...
@@ -16,15 +16,15 @@ UPDATES="$HOME/tmp/$2"
TMPDIR
=
"
$$
-docs"
TMPDIR
=
"
$$
-docs"
cd
/
home/groups/p/py/python/htdocs
||
exit
$?
cd
/
ftp/ftp.python.org/pub/www.python.org/dev/doc/
||
exit
$?
mkdir
$TMPDIR
||
exit
$?
mkdir
$TMPDIR
||
exit
$?
cd
$TMPDIR
||
exit
$?
cd
$TMPDIR
||
exit
$?
(
bzip2
-dc
"
$UPDATES
"
|
tar
xf -
)
||
exit
$?
(
bzip2
-dc
"
$UPDATES
"
|
tar
xf -
)
||
exit
$?
cd
..
||
exit
$?
cd
..
||
exit
$?
if
[
-d
$DOCTYPE
-docs
]
;
then
if
[
-d
$DOCTYPE
]
;
then
mv
$DOCTYPE
-docs
$DOCTYPE
-temp
mv
$DOCTYPE
$DOCTYPE
-temp
fi
fi
mv
$TMPDIR
$DOCTYPE
-docs
mv
$TMPDIR
$DOCTYPE
rm
-rf
$DOCTYPE
-temp
||
exit
$?
rm
-rf
$DOCTYPE
-temp
||
exit
$?
rm
"
$UPDATES
"
||
exit
$?
rm
"
$UPDATES
"
||
exit
$?
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment