Mercurial > p > roundup > code
annotate website/README.txt @ 6433:c1d3fbcdbfbd
issue2551142 - Import of retired node ... unique constraint failure.
Title: Import of retired node with username after active node fails
with unique constraint failure.
More fixes needed for mysql and postgresql.
mysql: add unique constraint for (keyvalue, __retired__) when
creating class in the database.
On schema change if class is changed, remove the unique
constraint too.
upgrade version of rdbms database from 5 to 6 to add constraint
to all version 5 databases that were created as version 5
and didn't get the unique constraint. Make no changes
on version 5 databases upgraded from version 4, the upgrade
process to 5 added the constraint. Make no changes
to other databases (sqlite, postgres) during upgrade from
version 5 to 6.
postgres: Handle the exception raised on unique constraint violation.
The exception invalidates the database connection so it
can't be used to recover from the exception.
Added two new database methods:
checkpoint_data - performs a db.commit under postgres
does nothing on other backends
restore_connection_on_error - does a db.rollback on
postgres, does nothing on other
backends
with the rollback() done on the connection I can use the
database connection to fixup the import that failed on the
unique constraint. This makes postgres slower but without the
commit after every imported object, the rollback will delete
all the entries done up to this point.
Trying to figure out how to make the caller do_import batch
and recover from this failure is beyond me.
Also dismissed having to process the export csv file before
importing. Pushing that onto a user just seems wrong. Also
since import/export isn't frequently done the lack of
surprise on having a failing import and reduced
load/frustration for the user seems worth it. Also the import
can be run in verbose mode where it prints out a row as it is
processed, so it may take a while, ut the user can get
feedback.
db_test-base.py: add test for upgrade from 5 to 6.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 10 Jun 2021 12:52:05 -0400 |
| parents | bea4a6956c89 |
| children | 53da2c697fab |
| rev | line source |
|---|---|
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
1 Roundup has three web sites: |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
2 |
|
6269
92cc82788f83
Replace http:....roundup-tracker.org with https.
John Rouillard <rouilj@ieee.org>
parents:
6263
diff
changeset
|
3 * https://www.roundup-tracker.org/ |
|
6343
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
4 * https://issues.roundup-tracker.org/ |
|
5941
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
5 * https://wiki.roundup-tracker.org/ |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
6 |
|
6343
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
7 www is hosted on SourceForge, issues is hosted on a python software |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
8 foundation host and wiki is hosted at waldman-edv. |
|
5941
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
9 |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
10 updating services hosted on sf.net (www) |
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
11 ================================================= |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
12 Generic SF instructions for web service recommend |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
13 uploading files through SFTP, described here: |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
14 http://sourceforge.net/p/forge/documentation/Project%20Web%20Services/ |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
15 |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
16 However, SFTP is ugly to script in non-interactive |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
17 mode, so we use SSH access to fetch everything and |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
18 build from server side. |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
19 |
|
5633
7a570b1f0d67
website: improve sf login instructions
Bernhard Reiter <bernhard@intevation.de>
parents:
5612
diff
changeset
|
20 Working with sf.net |
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
21 ------------------- |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
22 Current docs are taken down with SourceForge Trac, |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
23 so working instructions are available from here: |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
24 http://web.archive.org/web/20140618231150/http://sourceforge.net/apps/trac/sourceforge/wiki/Shell%20service |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
25 |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
26 # log in, replace <user> with your account |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
27 ssh -t <user>,roundup@shell.sourceforge.net create |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
28 |
|
4956
4e7208743254
Update web site instruction to restore web presence of
anatoly techtonik <techtonik@gmail.com>
parents:
4940
diff
changeset
|
29 # set project_home |
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
30 project_home=/home/project-web/roundup |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
31 |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
32 # pull latest Roundup source with www and wiki |
|
4940
ff4d939f4619
website/README: Make "hg up" location-independent
anatoly techtonik <techtonik@gmail.com>
parents:
4934
diff
changeset
|
33 hg pull -u --cwd ${project_home}/src/roundup |
|
5343
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
34 # see below if this fails with: not trusting file |
|
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
35 # /home/project-web/roundup/src/roundup/.hg/hgrc from untrusted |
|
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
36 # user 110231, group 48 |
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
37 |
|
4956
4e7208743254
Update web site instruction to restore web presence of
anatoly techtonik <techtonik@gmail.com>
parents:
4940
diff
changeset
|
38 # read up on other people changes and add yours |
|
4e7208743254
Update web site instruction to restore web presence of
anatoly techtonik <techtonik@gmail.com>
parents:
4940
diff
changeset
|
39 cd ${project_home} |
|
4e7208743254
Update web site instruction to restore web presence of
anatoly techtonik <techtonik@gmail.com>
parents:
4940
diff
changeset
|
40 vim logbuch.txt |
|
4e7208743254
Update web site instruction to restore web presence of
anatoly techtonik <techtonik@gmail.com>
parents:
4940
diff
changeset
|
41 |
|
5343
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
42 If you get a "not trusting" error the problem is that the .hg files in |
| 6232 | 43 use are not owned by you and hg won't use them. Add this to your |
|
5343
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
44 ~/.hgrc file (create file if needed) |
|
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
45 |
|
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
46 [trusted] |
|
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
47 groups=48 |
|
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
48 users=110231 |
|
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
49 |
|
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
50 if the uid/gid changes you may have to change the values. |
|
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
51 See: https://www.mercurial-scm.org/wiki/Trust for details |
|
f1270730505d
Add directions on how to handle issues when updating using hg.
John Rouillard <rouilj@ieee.org>
parents:
4956
diff
changeset
|
52 |
|
5633
7a570b1f0d67
website: improve sf login instructions
Bernhard Reiter <bernhard@intevation.de>
parents:
5612
diff
changeset
|
53 When done working in the sf shell, you can destroy it early |
|
7a570b1f0d67
website: improve sf login instructions
Bernhard Reiter <bernhard@intevation.de>
parents:
5612
diff
changeset
|
54 to free resources: |
|
7a570b1f0d67
website: improve sf login instructions
Bernhard Reiter <bernhard@intevation.de>
parents:
5612
diff
changeset
|
55 |
|
7a570b1f0d67
website: improve sf login instructions
Bernhard Reiter <bernhard@intevation.de>
parents:
5612
diff
changeset
|
56 shutdown |
|
4620
0aafd64866d1
website/README.txt: Improved: Added new generic sf.net section.
Bernhard Reiter <bernhard@intevation.de>
parents:
4609
diff
changeset
|
57 |
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
58 updating www.roundup-tracker.org |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
59 --------------------------------- |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
60 Site update requires rebuilding HTML files. For that |
|
6263
3a851df879cd
Remove doc dependency sphinxcontrib-cheeseshop.
John Rouillard <rouilj@ieee.org>
parents:
6232
diff
changeset
|
61 `sphinx` is required/ |
|
3a851df879cd
Remove doc dependency sphinxcontrib-cheeseshop.
John Rouillard <rouilj@ieee.org>
parents:
6232
diff
changeset
|
62 Hopefully, it is already installed into virtualenv, so |
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
63 the whole procedure looks like so: |
|
4227
25db485027cf
add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
64 |
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
65 # activate the virtualenv |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
66 . ${project_home}/docbuilder/bin/activate |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
67 # cd to website source and build it |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
68 cd ${project_home}/src/roundup/website/www |
|
5845
e338969b1d23
Make sure to update to proper revision now that we have maint branch releases.
John Rouillard <rouilj@ieee.org>
parents:
5633
diff
changeset
|
69 hg up <release tag> # make sure you are using the released code |
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
70 make clean |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
71 make html |
|
5633
7a570b1f0d67
website: improve sf login instructions
Bernhard Reiter <bernhard@intevation.de>
parents:
5612
diff
changeset
|
72 # you can check which files updated (the date will change with many files) |
|
7a570b1f0d67
website: improve sf login instructions
Bernhard Reiter <bernhard@intevation.de>
parents:
5612
diff
changeset
|
73 #diff -ur --brief ${project_home}/htdocs/ ./html/ |
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
74 # copy to website dir |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
75 cp -r -p ./html/* ${project_home}/htdocs/ |
|
4956
4e7208743254
Update web site instruction to restore web presence of
anatoly techtonik <techtonik@gmail.com>
parents:
4940
diff
changeset
|
76 # copy legacy html doc to website docs/ dir |
|
4e7208743254
Update web site instruction to restore web presence of
anatoly techtonik <techtonik@gmail.com>
parents:
4940
diff
changeset
|
77 # (in main doc/conf.py this is done automatically) |
|
4e7208743254
Update web site instruction to restore web presence of
anatoly techtonik <techtonik@gmail.com>
parents:
4940
diff
changeset
|
78 cp -r -p ../../doc/html_extra/* ${project_home}/htdocs/docs/ |
|
4915
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
79 # or try it with rsync (skip --dry-run when ready) |
|
0e22b13c5ab5
website/README.txt: Test and update instructions
anatoly techtonik <techtonik@gmail.com>
parents:
4871
diff
changeset
|
80 #rsync --dry-run -v --checksum --recursive ./html/* ${project_home}/htdocs/ |
|
5941
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
81 |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
82 |
| 5948 | 83 If you are releasing an alpha/beta release, don't update: |
|
5941
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
84 |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
85 ${project_home}/htdocs/docs/ |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
86 |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
87 instead update: |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
88 |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
89 ${project_home}/htdocs/dev-docs/ |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
90 |
|
6269
92cc82788f83
Replace http:....roundup-tracker.org with https.
John Rouillard <rouilj@ieee.org>
parents:
6263
diff
changeset
|
91 and the URL will be: https://www.roundup-tracker.org/dev-docs/docs.html |
|
5941
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
92 |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
93 Note there appears to be a cache somewhere in the path, so you may |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
94 need to use: |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
95 |
|
6269
92cc82788f83
Replace http:....roundup-tracker.org with https.
John Rouillard <rouilj@ieee.org>
parents:
6263
diff
changeset
|
96 https://www.roundup-tracker.org/dev-docs/docs.html?foo=1 |
|
5941
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
97 |
|
29d428927362
prep for 2.0.0alpha0 release.
John Rouillard <rouilj@ieee.org>
parents:
5845
diff
changeset
|
98 to cache bust. |
|
6343
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
99 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
100 Updating issues.roundup-tracker.org |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
101 =================================== |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
102 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
103 The tracker resides on bugs.ams1.psf.io (188.166.48.69). You can also |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
104 ssh to issues.roundup-tracker.org. They have the same fingerprint: |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
105 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
106 ED25519 key fingerprint is f1:f7:3d:bf:3b:01:8d:e1:4e:30:b3:0f:6e:98:b8:9b. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
107 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
108 The roundup installation belongs to the user roundup. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
109 The setup uses virtualenv. Use the python version: |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
110 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
111 /srv/roundup/env/bin/python2.7 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
112 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
113 to get a python with roundup on the PYTHONPATH. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
114 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
115 The Roundup tracker https://issues.roundup-tracker.org/ is in |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
116 /srv/roundup/trackers/roundup/ with the database set to |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
117 /srv/roundup/data/roundup/. Note that postgres is used for the |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
118 backend, so the database directory above is used for msgs and files. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
119 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
120 Source is in: /srv/roundup/src/ |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
121 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
122 Roundup is run using gunicorn and wsgi. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
123 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
124 You have 'sudo -u roundup' access if you need to run things as the |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
125 roundup user. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
126 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
127 The configuration is in the "website/issues" section of Roundup's |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
128 Mercurical SCM repository and copied manually to the live tracker. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
129 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
130 * get a working copy of roundup/website/issues from the SCM, either via |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
131 hg clone https://hg.code.sf.net/p/roundup/code |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
132 or download a snapshot: |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
133 https://sourceforge.net/p/roundup/code/ci/default/tarball |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
134 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
135 * check the differences |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
136 diff -ur /srv/roundup/trackers/roundup/ roundup/website/issues/ |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
137 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
138 Copy differences using 'sudo -u roundup ...'. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
139 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
140 Getting a user account |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
141 ~~~~~~~~~~~~~~~~~~~~~~ |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
142 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
143 To get access to the host, submit a pull request for: |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
144 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
145 https://github.com/python/psf-salt |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
146 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
147 by forking the repo, make a change similar to: |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
148 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
149 https://github.com/rouilj/psf-salt/commit/2aa55d0fc5a343f45f5507437d3fba077cbaf852 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
150 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
151 and submit it as a pull request. Contact ewdurbin via #roundup IRC or by |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
152 adding an issue to the master psf-salt repo. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
153 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
154 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
155 updating wiki.roundup-tracker.org |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
156 ================================= |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
157 Wiki isn't hosted on sourceforge anymore. See: |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
158 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
159 https://issues.roundup-tracker.org/issue2551045 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
160 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
161 for details on Implementing wiki move to Waldmann-EDV. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
162 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
163 Contact Thomas Waldmann. Web site: https://www.waldmann-edv.de/ |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
164 email: info AT waldmann-edv DOT de. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
165 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
166 The sites theme is under wiki/wiki/data/plugin/theme/roundup.py. Last |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
167 updated by emailing Thomas 2/2021. Images/icons and css under |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
168 wiki/_static. |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
169 |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
170 Backups are assumed to be done by Waldmann-edv. There does not appear |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
171 to be a way to get access to the underlying filesystem via ssh or to |
|
bea4a6956c89
Moved roundup-tracker.org infrastructure docs to website/README.txt
John Rouillard <rouilj@ieee.org>
parents:
6340
diff
changeset
|
172 do a backup/tarball via with web. |
