Commit Graph

51 Commits

Author SHA1 Message Date
6bbd4d66e4 The "cron" jobs can be managed from Git. 2021-05-21 06:02:02 +03:00
46603a7d86 generate the database every 4 hours 2021-05-19 19:46:02 +03:00
9c2a3e006c Sync final newlines
This patch adds some missing newlines and trims multiple newlines into
one.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-01 23:36:51 +02:00
5d425c4438 Trim trailing whitespace 2018-10-01 23:21:45 +02:00
cb81c04089 Remove unused Git attributes ident
The `$Id$` keywords were used in CVS and Subversion where they can be
substituted with filename, last revision number change, last changed
date, and last user who changed it.

In Git this functionality is different and can be done with Git
attribute ident. These need to be defined manually for each file in the
`.gitattributes` file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of `$Id$` keywords by removing them since
they are not used anymore.
2018-10-01 22:52:49 +02:00
137310a24a Ehh, hopefully this should be last fix 2016-12-11 10:02:52 +01:00
a16dd9c36c Make it executable 2016-12-11 09:58:02 +01:00
d3f3b19c9e Sigh, fixes... 2016-12-11 08:55:42 +01:00
df31ed0e7e Build latest PhD's guide using PHP/HowTo format
It was unused anyway after switching docs' howto to Markdown,
so I thought it can be still utilized for PhD's Guide itself.
2016-12-11 08:51:54 +01:00
8e35e76829 Goodbye, old howto! 2014-06-20 15:26:38 +02:00
64aa57f6c3 Cron scripts updated 2014-03-22 14:29:43 +01:00
64a53c0aea Pseudocron tasks cleanup 2014-03-22 07:01:43 +01:00
3e95510013 replace it with an absolute path, as the path has to work bot for http://doc.php.net/php/dochowto/ and http://doc.php.net/dochowto/ 2013-02-28 02:56:02 +01:00
cae85680a2 don't ask about the file overwrites and replace the bogus ../init.inc.php include paths 2013-02-24 20:57:49 +01:00
f66a556ade use the installed phd package 2013-02-24 19:03:10 +01:00
50b247dc5c Moved gen_translation_info from weekly to daily, as requested by Alexey 2011-02-16 22:09:58 +00:00
d6dd0f37c1 remove extra cron file 2010-06-20 18:31:58 +00:00
4eb1e84faa Add revcheck cron. Only activate PHP project. 2010-06-18 18:38:40 +00:00
a8d2a50f87 Use PhD 1.0 (fixes the build, haven't been updated in months, noticed by hartmut) 2010-03-16 10:36:20 +00:00
42048c8259 - Added the cron that rsyncs the doc mirror (docs.php.net), likely written by Hannes
- Since the mirror builds the docs 4x daily, we skip over that part in the rsync
2009-08-12 16:14:52 +00:00
3fa4bd533a Used the doc-base directory where appropriate (and another CVS->SVN) 2009-07-17 14:11:45 +00:00
87c3300299 CVS->SVN, and use systems phd for building dochowto 2009-07-17 13:45:40 +00:00
f5919e5b18 Implemented /usr/bin/env for bash (portability) 2009-03-29 01:10:12 +00:00
e07fa5c074 Added cron to execute docweb/scripts/gen_translation_info.sh weekly 2008-12-13 02:49:20 +00:00
81a8cf4fc6 Use PhD to generate the howto 2008-08-06 20:49:50 +00:00
a280d4836f Nuke smarty 2008-03-22 18:44:39 +00:00
efbbcdcae3 Add the posibility to specify the directory for the cvs module checkouts 2008-02-03 15:14:30 +00:00
729b3f156a hardcoding is bad, mmkay? 2007-04-15 21:09:38 +00:00
6baa3eb7b6 Cronjob for the RFC System 2005-07-30 14:42:36 +00:00
80ba0a2c3a Regenerate the apidocs hourly. 2005-06-03 10:05:29 +00:00
a3c6535961 Fix configure script to find some utils. 2005-05-24 12:44:16 +00:00
3a912426b0 Also make the tar.gz format 2005-04-06 15:58:43 +00:00
dc51495064 do the howto weekly, not monthly 2005-04-05 10:24:53 +00:00
521eaab57d hopefully fix the problem in the cron jobs by using an absolute path 2005-03-26 15:28:30 +00:00
ac5dcc1b1f more meta-info (erigol) scripts 2005-02-07 05:04:06 +00:00
37cb0039d6 Function Aliases (from Erigol's scripts) DB population 2005-02-07 00:38:20 +00:00
891dc26f37 Commiting the notes_stats scripts
I know that this could have been way simpler but I just wanted this working
and it seems to do it's job well
Suggestions and improvements are very welcome, this is more a quit draft.

Updating the script in phpdoc/scripts/ is on my large TODO list, it only
requires the SQLite cache system though..

The first script run should be done by hand. If the script dies with "EOF"
you will have to re-run the script, the news server has disconnected you.
2005-01-30 21:33:00 +00:00
79f94a80bb add gtk support 2005-01-25 18:15:40 +00:00
eea176cabc Port of: http://www.phpdoc.info/entities/
Not complete, but it works; will clean up CS and language entities later
#need sleep
2005-01-25 05:42:49 +00:00
b8625946f9 moved bitbucket redirect 2005-01-23 16:14:28 +00:00
1b11c3696f scoping fix 2005-01-23 16:05:03 +00:00
3b30e9c7ce more checkent cleaning && now with (optional) forking 2005-01-22 17:09:03 +00:00
50af6149d0 massive re-working of the checkent script 2005-01-22 06:56:59 +00:00
a497ba534d first release of the howto cron job
I've switched to UTF-8, otherwise Gabor's name isn't renderered correctly :)
anyway the switch was going to be needed...
2005-01-21 16:32:03 +00:00
48bf8bbaea fixed wrapper (was only executing one file, now executes full dir) 2005-01-21 15:25:11 +00:00
6cdebd1cd8 generalize check: use it for phpdoc, peardoc and smarty
make it available just for english
bug fix
2005-01-20 22:29:47 +00:00
f03a4224a9 commit new checkent script 2005-01-18 12:03:30 +00:00
f29c4db16c add orphan notes script 2005-01-17 11:04:41 +00:00
85be41d8dd add revcheck to cron job and generalize the update cvs script 2005-01-16 10:55:40 +00:00
57a4857fe3 This is where bash is installed on doc.php.net 2004-11-29 15:28:59 +00:00