Skip to content

Commit

Permalink
Merge pull request #10 from snehal0904/master
Browse files Browse the repository at this point in the history
Creating package structure, jenkin job for the release
  • Loading branch information
coolbung authored Feb 13, 2020
2 parents 413eaf6 + d04569e commit 7f091e5
Show file tree
Hide file tree
Showing 79 changed files with 37 additions and 62 deletions.
17 changes: 0 additions & 17 deletions scripts/ansible-deploy/deploy.yml

This file was deleted.

14 changes: 0 additions & 14 deletions scripts/ansible-deploy/inventories/dev

This file was deleted.

Empty file.
19 changes: 0 additions & 19 deletions scripts/ansible-deploy/inventories/local

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 2 additions & 9 deletions src/tc.xml → src/components/com_tc/tc.xml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.0" method="upgrade">
<name>com_tc</name>
<creationDate>10th Feb 2020</creationDate>
<creationDate>10th Feb 2020</creationDate>
<copyright>Copyright (C) 2016 - 2020 Techjoomla. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<author>Techjoomla</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://techjoomla.com/</authorUrl>
<authorUrl>https://techjoomla.com</authorUrl>
<version>1.0.1</version>
<description>This TC manager is used to assign TC's for any pages of site.</description>

<!-- The description is optional and defaults to the name -->
<description>COM_TC</description>
<scriptfile>script.tc.php</scriptfile>

<install> <!-- Runs on install -->
Expand Down Expand Up @@ -74,8 +71,4 @@
<config>

</config>
<plugins>
<plugin group="search" plugin="tc"/>
</plugins>

</extension>
28 changes: 28 additions & 0 deletions src/pkg_tc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="package" version="3.0" method="upgrade">
<name>Terms and Condition manager</name>
<packagename>tc</packagename>
<packager>Techjoomla</packager>
<packagerurl>https://techjoomla.com</packagerurl>
<creationDate>10th Feb 2020</creationDate>
<copyright>Copyright (C) 2016 - 2020 Techjoomla. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<author>Techjoomla</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://techjoomla.com/</authorUrl>
<version>1.0.1</version>
<description>This TC manager is used to assign TC's for any pages of site.</description>
<!-- The description is optional and defaults to the name -->
<description>COM_TC</description>
<scriptfile>script.pkg_tc.php</scriptfile>
<blockChildUninstall>true</blockChildUninstall>
<files>
<!-- Component -->
<file type="component" id="com_tc">components/com_tc.zip</file>
<!-- Plugins -->
<file type="plugin" id="plug_system_tc" group="system">plugins/system/plug_system_tc.zip</file>
</files>
<updateservers>
<server type="collection" priority="1" name="tc"><![CDATA[https://techjoomla.com/updates/stream/tc.xml?format=xml]]></server>
</updateservers>
</extension>
Binary file not shown.
10 changes: 7 additions & 3 deletions src/script.tc.php → src/script.pkg_tc.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

// No direct access to this file
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Installer\Installer;
use Joomla\CMS\Filesystem\File;

$tjInstallerPath = JPATH_ROOT . '/administrator/manifests/packages/tc/tjinstaller.php';

Expand All @@ -26,18 +28,20 @@
*
* @since 0.0.1
*/
class Com_TcInstallerScript extends TJInstaller
class Pkg_TcInstallerScript extends TJInstaller
{
protected $extensionName = 'com_tc';
protected $extensionName = 'tc';

/** @var array The list of extra modules and plugins to install */
private $installationQueue = array(
'postflight' => array(
// Plugins => { (folder) => { (element) => (published) }* }*
'plugins' => array(
'system' => array(
'tc' => 1
'plug_system_tc' => 1
)
)
)
);

protected $extensionsToEnable = array (
Expand Down

0 comments on commit 7f091e5

Please sign in to comment.