freephile / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
0 stars 0 forks source link

Housekeeping: Remove or update references to 'enterprisemediawiki' #1

Open freephile opened 8 months ago

freephile commented 8 months ago

Enterprisemediawiki is the original organization and repository where Meza was born.

Now that this software is being updated by NASA GRC, we need to be clear about the sources; and be sure not to include outdated or unmaintained references.

The results below are current mentions of 'enterprisemediawiki' in the sources.

---- 57 results - 32 files ---- ``` meza/README.md: 2 3: [![Build Status](https://travis-ci.org/enterprisemediawiki/meza.svg?branch=master)](https://travis-ci.org/enterprisemediawiki/meza) 4: [![Code Climate](https://codeclimate.com/github/enterprisemediawiki/meza/badges/gpa.svg)](https://codeclimate.com/github/enterprisemediawiki/meza) 5 6: 7 meza/RELEASE-NOTES.md: 407 * 1230747 Use GitHub mirrors for Gerrit repos 408: * 8be750b Merge pull request #1060 from enterprisemediawiki/ext-wa-0.1.0 409 * 9baa1d6 Change Extension:CopyWatchers from master to 0.10.0 meza/.github/workflows/docker-build.yml: 15 password: ${{ secrets.DOCKER_PASSWORD }} 16: repository: enterprisemediawiki/meza 17 tags: base 28 password: ${{ secrets.DOCKER_PASSWORD }} 29: repository: enterprisemediawiki/meza 30 tags: pre-yum 41 password: ${{ secrets.DOCKER_PASSWORD }} 42: repository: enterprisemediawiki/meza 43 tags: full 54 password: ${{ secrets.DOCKER_PASSWORD }} 55: repository: enterprisemediawiki/meza 56 tags: max meza/config/defaults.yml: 160 # Icons display in Slack 161: server_performance_notification_icon: https://github.com/enterprisemediawiki/meza/raw/master/src/roles/configure-wiki/files/logo.png 162: disk_space_usage_notification_icon: https://github.com/enterprisemediawiki/meza/raw/master/src/roles/configure-wiki/files/logo.png 163 meza/config/MezaCoreExtensions.yml: 520 # - name: TalkRight 521: # repo: https://github.com/enterprisemediawiki/TalkRight.git 522 # version: tags/2.0.0 525 # - name: Wiretap 526: # repo: https://github.com/enterprisemediawiki/Wiretap.git 527 # version: tags/0.2.0 meza/src/playbooks/check-for-changes.yml: 32 set_fact: 33: autodeployer_slack_icon_url: "{{ autodeployer.slack_icon_url | default('https://github.com/enterprisemediawiki/meza/raw/master/src/roles/configure-wiki/files/logo.png') }}" 34 when: autodeployer is defined meza/src/playbooks/push-backup.yml: 18 set_fact: 19: autodeployer_slack_icon_url: "{{ autodeployer.slack_icon_url | default('https://github.com/enterprisemediawiki/meza/raw/master/src/roles/configure-wiki/files/logo.png') }}" 20 when: autodeployer is defined 66 set_fact: 67: autodeployer_slack_icon_url: "{{ autodeployer.slack_icon_url | default('https://github.com/enterprisemediawiki/meza/raw/master/src/roles/configure-wiki/files/logo.png') }}" 68 when: autodeployer is defined meza/src/roles/apache-php/templates/etc-sysconfig-httpd.j2: 36 # [2] https://github.com/Microsoft/msphpsql/issues/805 37: # [3] https://github.com/enterprisemediawiki/meza/issues/750 38 # meza/src/roles/autodeployer/tasks/do-deploy.yml: 5 set_fact: 6: autodeployer_slack_icon_url: "{{ autodeployer.slack_icon_url | default('https://github.com/enterprisemediawiki/meza/raw/master/src/roles/configure-wiki/files/logo.png') }}" 7 when: autodeployer is defined meza/src/roles/autodeployer/templates/slack-notify.sh.j2: 58 if [ -z "$SLACK_ICON_URL" ]; then 59: SLACK_ICON_URL="https://github.com/enterprisemediawiki/meza/raw/master/src/roles/configure-wiki/files/logo.png" 60 fi meza/src/roles/composer/defaults/main.yml: 21 # If you run this script multiple times from one IP address, you might exceed 22: # GitHub's API rate limit. Below is enterprisemediawiki/meza's generic token 23 # for general use. However, if this project gets used a lot by any people it meza/src/roles/haproxy/tasks/main.yml: 102 openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 \ 103: -subj "/C=US/ST=TX/L=Houston/O=EnterpriseMediaWiki/CN={{ wiki_app_fqdn}}" \ 104 -keyout {{ m_local_secret }}/{{ env }}/ssl/meza.key \ meza/src/roles/haproxy/templates/errors/500.http.j2: 64

65: Submit an issue — 66: Email us — 67 @EnterpriseMW meza/src/roles/htdocs/templates/office.html.j2: 3 4:

This is a dummy file to make it so office documents don't break SAML authentication. Reference meza issue #739

5 meza/src/roles/meza-log/templates/server-performance.sh.j2: 9 # If /usr/local/bin is not in PATH then add it 10: # Ref enterprisemediawiki/meza#68 "Run install.sh with non-root user" 11 if [[ $PATH != *"/usr/local/bin"* ]]; then meza/src/roles/saml/templates/NonMediaWikiSimpleSamlAuth.php.j2: 4 * 5: * SAML authentication for EnterpriseMediaWiki mezawiki landing page, very much 6 * based upon MediaWiki Extension:SimpleSamlAuth and using SimpleSamlPhp. It is meza/src/scripts/dev-networking.sh: 3 # Setup network configuration for a CentOS 6.6 virtual machine on VirtualBox 4: # Please see directions at https://github.com/enterprisemediawiki/meza 5 29 # to ask the user if they want to overwrite existing. We do want to overwrite. 30: curl -L "https://raw.github.com/enterprisemediawiki/meza/master/config/template/$network_adapter2" > "$net_scripts/$network_adapter2" 31 meza/src/scripts/do-release.sh: 133 echo -e "1. Check what you committed with ${RED}git diff HEAD~1..HEAD${NC}, then push" 134: echo -e "2. Open a pull request at ${GREEN}https://github.com/enterprisemediawiki/meza/compare/${BASE_BRANCH}...${RELEASE_BRANCH}?expand=1${NC}" 135 echo "3. After the PR is merged create a new release of Meza with these details:" meza/src/scripts/getmeza.sh: 172 if [ ! -d "${INSTALL_DIR}/meza" ]; then 173: git clone https://github.com/enterprisemediawiki/meza.git ${INSTALL_DIR}/meza --branch master 174 fi meza/src/scripts/meza.py: 464 if meza_remote not in check_remotes: 465: add_remote = subprocess.check_output( ["git", "remote", "add", meza_remote, "https://github.com/enterprisemediawiki/meza.git" ] ) 466 960 if len(argv) == 1: 961: docker_repo = "enterprisemediawiki/meza:max" 962 else: meza/src/scripts/unite-the-wikis.sh: 13 # If /usr/local/bin is not in PATH then add it 14: # Ref enterprisemediawiki/meza#68 "Run install.sh with non-root user" 15 if [[ $PATH != *"/usr/local/bin"* ]]; then meza/src/scripts/shell-functions/base.sh: 31 # If /usr/local/bin is not in PATH then add it 32: # Ref enterprisemediawiki/meza#68 "Run install.sh with non-root user" 33 if [[ $PATH != *"/usr/local/bin"* ]]; then meza/src/scripts/ssh-users/setup-minion-user.sh: 34 # If /usr/local/bin is not in PATH then add it 35: # Ref enterprisemediawiki/meza#68 "Run install.sh with non-root user" 36 if [[ $PATH != *"/usr/local/bin"* ]]; then meza/tests/containers/full/Dockerfile: 1: FROM enterprisemediawiki/meza:pre-yum 2 LABEL MAINTAINER James Montalvo 4 5: RUN git clone -b master https://github.com/enterprisemediawiki/meza /opt/meza 6 # COPY . /opt/meza meza/tests/containers/max/Dockerfile: 1: FROM enterprisemediawiki/meza:pre-yum 2 LABEL MAINTAINER James Montalvo 13 && git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite.git \ 14: && git clone https://github.com/enterprisemediawiki/ParserFunctionHelper.git \ 15 && git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WhoIsWatching.git \ 20 && git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Arrays.git \ 21: && git clone https://github.com/enterprisemediawiki/TalkRight.git \ 22 && git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AdminLinks.git \ 28 && git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi.git \ 29: && git clone https://github.com/enterprisemediawiki/Wiretap.git \ 30 && git clone https://github.com/jamesmontalvo3/MediaWiki-ApprovedRevs.git ApprovedRevs \ 33 && git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki.git \ 34: && git clone https://github.com/enterprisemediawiki/MasonryMainPage.git \ 35: && git clone https://github.com/enterprisemediawiki/WatchAnalytics.git \ 36 && git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Variables.git \ 49 && git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap \ 50: && git clone https://github.com/enterprisemediawiki/MezaExt.git \ 51 && git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SemanticDrilldown.git \ 52: && git clone https://github.com/enterprisemediawiki/ImagesLoaded.git \ 53: && git clone https://github.com/enterprisemediawiki/PageImporter.git \ 54: && git clone https://github.com/enterprisemediawiki/SemanticMeetingMinutes.git \ 55: && git clone https://github.com/enterprisemediawiki/HeaderFooter.git \ 56 && git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NumerAlpha.git \ meza/tests/containers/pre-yum/Dockerfile: 1: FROM enterprisemediawiki/meza:base 2 LABEL MAINTAINER James Montalvo meza/tests/deploys/monolith-from-import.controller.sh: 16 # Get test "secret" config 17: git clone https://github.com/enterprisemediawiki/meza-test-config-secret.git "/opt/conf-meza/secret/$env_name" 18 meza/tests/docker/import-from-alt-remote.setup.sh: 38 ${docker_exec_1[@]} git clone \ 39: https://github.com/enterprisemediawiki/meza-test-config-secret.git \ 40 "/opt/conf-meza/secret/$env_name" meza/tests/docker/import-from-remote.setup.sh: 39 ${docker_exec_1[@]} git clone \ 40: https://github.com/enterprisemediawiki/meza-test-config-secret.git \ 41 "/opt/conf-meza/secret/$env_name" meza/tests/docker/init-container.sh: 9 if [ -z "$docker_repo" ]; then 10: docker_repo="enterprisemediawiki/meza:max" 11 echo "Using default docker_repo = $docker_repo" 89 90: # Docker image "enterprisemediawiki/meza:max" has mediawiki and 91 # several extensions pre-cloned, but not in the correct location. Move them meza/tests/docker/init-controller.sh: 6 # Initiate container 7: docker_repo="enterprisemediawiki/meza:full" 8 source "$m_meza_host/tests/docker/init-container.sh" "${m_meza_host}" "mount" meza/tests/docker/init-minion.sh: 6 # FIXME #828: pre-yum has more than we need. Go lighter. 7: docker_repo="enterprisemediawiki/meza:pre-yum" 8 is_minion=yes ```

freephile commented 1 month ago

For any old reference to the Enterprise MediaWiki extension ParserFunctionHelper, see the official documentation on Developing Extensions instead. The former is simply a utility to copy files from a 'boilerplate' extension into a new extension. IOW, it's a extension builder initializer. Given the ever-changing landscape of extension development, it's better to just follow the documentation for your use case - including the case where you are creating a parser function extension - guided by the 'current' docs.