File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
- Default webservices can be disabled. See :ref: `config-services `.
13
13
14
+ Fixed
15
+ ~~~~~
16
+
17
+ - Restore the ``--nodaemon `` (``-n ``) option (which Scrapyd enables, regardless), to avoid "option --nodaemon not recognized".
18
+
14
19
1.5.0b1 (2024-07-25)
15
20
--------------------
16
21
74
79
75
80
- Correct the usage message and long description.
76
81
- Remove the ``--rundir `` option, which only works if ``*_dir `` settings are absolute paths.
77
- - Remove the ``--nodaemon `` option, which Scrapyd enables.
78
- - Remove the ``--python= `` option, which Scrapyd needs to set to its application.
82
+ - Remove the ``--nodaemon `` (`` -n ``) option, which Scrapyd enables.
83
+ - Remove the ``--python= `` (`` -y ``) option, which Scrapyd needs to set to its application.
79
84
- Remove all ``twistd `` subcommands (FTP servers, etc.). Run ``twistd ``, if needed.
80
85
- Run the ``scrapyd.__main__ `` module, instead of the ``scrapyd.scripts.scrapyd_run `` module.
81
86
Original file line number Diff line number Diff line change @@ -12,8 +12,9 @@ class ServerOptions(twistd.ServerOptions):
12
12
13
13
def __init__ (self ):
14
14
super ().__init__ ()
15
- # main() always sets -n (--nodaemon) and -y (--python=). Scrapyd's *_dir settings don't respect --rundir.
16
- self .longOpt = [opt for opt in self .longOpt if opt not in ("nodaemon" , "python=" , "rundir=" )]
15
+ # main() always sets -n (--nodaemon) and -y (--python=). -y can be set only once. -n is okay to leave as a
16
+ # no-op. Scrapyd's *_dir settings don't respect --rundir.
17
+ self .longOpt = [opt for opt in self .longOpt if opt not in ("python=" , "rundir=" )]
17
18
18
19
@property
19
20
def subCommands (self ):
You can’t perform that action at this time.
0 commit comments