Skip to content

Commit

Permalink
Merge pull request #3 from geekwright/sums259
Browse files Browse the repository at this point in the history
Add some automation support
  • Loading branch information
geekwright authored May 6, 2018
2 parents 17b2b96 + 7427e53 commit 1e58319
Show file tree
Hide file tree
Showing 4 changed files with 1,545 additions and 1,219 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
\#*
*.bak
.idea/
coverage.clover
xoopswork/
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# xfilecheck

**Work in Progress** File integrity checker for XOOPS 2.5
## File integrity checker for XOOPS 2.5

This script allows you to check that the XOOPS system files have been correctly uploaded to your server. It reads all the XOOPS files and reports missing or invalid ones.

## Download

- Visit the [xfilecheck Releases area on GitHub](https://github.com/XOOPS/xfilecheck/releases)
- Locate the Checksum verification for XOOPS archive that matches your version of XOOPS
- From the Assets section, choose the .zip or .tar.gz *source code* archive as appropriate to your system

## Checking Files

### Basic legacy method instructions
- Upload the checksum.php script and checksum.md5 from the downloaded archive file to your XOOPS documents root
- Access http://(yourxoopssite)/checksum.php using your browser
- Correct any issues reported by re-uploading missing or invalid files
- you should remove checksum.php and checksum.md5 after you have verified the files

### Advanced command line usage
- unarchive the xfilecheck archive on your server
- invoke command using: *php checksum.php --root=/file/path/to/XoopsCore25/htdocs*
- Correct any issues reported by re-uploading missing or invalid files
10 changes: 10 additions & 0 deletions build
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

if [ "$1" != "" ]; then
rm -rf xoopswork
git clone --branch "$1" --depth 1 https://github.com/XOOPS/XoopsCore25.git xoopswork
php checksum.create.php --root=xoopswork/htdocs
else
echo "Specify the release version tag"
fi

Loading

0 comments on commit 1e58319

Please sign in to comment.