Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:nethserver_7_kickstart [2016/01/12 02:43]
Giacomo Sanchietti [Prerequisites]
developer:nethserver_7_kickstart [2017/02/07 04:13] (current)
Davide Principi
Line 3: Line 3:
 ## Prerequisites ## Prerequisites
  
-Install ​CentOS ​on a development ​(virtualmachine.+Install ​NethServer ​7. Refer to [Administrator manual](http://​docs.nethserver.org).
  
-Latest CentOS version is 7.2.1511.+## Developer environment
  
-Some related links: +If you want to create a developer environment,​ first install ​mock configuration:​
-  * https://​www.howtoforge.com/​centos-7-server +
-  * https://​www.youtube.com/​watch?​v=HQHPSq8RkiU +
- +
-Install ​mock and YUM configuration ​for NethServer 7:  +
- +
-``` +
- # yum localinstall -y \ +
-    http://​packages.nethserver.org/​nethserver/​7.2.1511/​base/​x86_64/​Packages/​nethserver-release-7-0.1.11.g66e6835.ns7.noarch.rpm \ +
-    http://​packages.nethserver.org/​nethserver/​7.2.1511/​base/​x86_64/​Packages/​nethserver-mock-1.2.1-1.3.g3f77c3f.ns7.noarch.rpm +
-``` +
- +
-Run the installation on CentOS command:+
  
 ``` ```
- # nethserver-install+  ​yum install ​nethserver-mock
 ``` ```
  
Line 32: Line 20:
 passwd filippo passwd filippo
 </​file>​ </​file>​
- 
-Log-in on your development machine as created user, then add the following environment settings to ``~/​.bashrc``:​ 
- 
-```bash 
-export dist=ns7 ​ 
-export mockcfg=nethserver-7-x86_64 
-``` 
- 
-Then logout and login again, to have the environment updated or execute: 
- 
-``` 
- $ . ~/.bashrc 
-``` 
  
  
 ## GitHub-based workflow ## GitHub-based workflow
- 
-The initial work on NethServer 7 is an opportunity to test a GitHub-based workflow. This initiative has been decided on this [thread con community.nethserver.org](http://​community.nethserver.org/​t/​moving-from-redmine-to-github/​1530?​u=davidep). ​ 
  
 [Fork a repository](https://​help.github.com/​articles/​fork-a-repo/​) from [NethServer on GitHub](https://​github.com/​NethServer?​utf8=%E2%9C%93&​query=nethserver-). For instance, ``nethserver-directory``. [Fork a repository](https://​help.github.com/​articles/​fork-a-repo/​) from [NethServer on GitHub](https://​github.com/​NethServer?​utf8=%E2%9C%93&​query=nethserver-). For instance, ``nethserver-directory``.
- 
- 
  
 After a logout and login as a normal user,  clone locally your freshly forked repository: After a logout and login as a normal user,  clone locally your freshly forked repository:
Line 88: Line 59:
 As usual, if an error occurs during the RPM build or installation,​ check if the problem has been reported: As usual, if an error occurs during the RPM build or installation,​ check if the problem has been reported:
  
-* See if a similar problem is listed on [v7-alpha2 ​milestone](https://​github.com/​NethServer/​dev/​milestones/​v7-alpha2) or a [Pull Request](https://​github.com/​pulls?​user=NethServer) has been opened+* See if a similar problem is listed on [v7 milestone](https://​github.com/​NethServer/​dev/​milestones/​v7) or a [Pull Request](https://​github.com/​pulls?​user=NethServer) has been opened
  
-* Search ​on [development ​category in community.nethserver.org](http://​community.nethserver.org). We'​ll ​use the tag ``v7-alpha2``.+* Search ​the [development](http://community.nethserver.org/​c/​development) and [bug](http://​community.nethserver.org/c/bugcategories. We use the tag ``v7``.
  
-* Ask for help on community, opening a new topic [on development category](http://​community.nethserver.org/​c/​development) and adding the tag ``v7-alpha2``+* Ask for help on community, opening a new topic [on development category](http://​community.nethserver.org/​c/​development) and adding the tag ``v7``
  
-If you'​re ​sure the problem has never been found, file a new issue on \\ https://​github.com/​NethServer/​dev/​issues/​new+If you are sure the problem has never been found, file a new issue on \\ https://​github.com/​NethServer/​dev/​issues/​new
  
 * Build errors are usually written to ``build.log`` file, in your current working directory. ​ Search for relevant error messages inside ``build.log``. * Build errors are usually written to ``build.log`` file, in your current working directory. ​ Search for relevant error messages inside ``build.log``.
Line 132: Line 103:
  
  
-## Forked packages 
- 
-This is the list of packages. All have ``v7`` branch. 
- 
-- nethserver-adagios 
-- nethserver-antivirus 
-- nethserver-avahi 
-- nethserver-backup-config 
-- nethserver-backup-data 
-- nethserver-base 
-- nethserver-cgp 
-- nethserver-c-icap 
-- nethserver-collectd 
-- nethserver-collectd-web 
-- nethserver-createiso !! 
-- nethserver-cups 
-- nethserver-ddclient 
-- nethserver-devtools !! 
-- nethserver-directory 
-- nethserver-dnsmasq 
-- nethserver-duc 
-- nethserver-ejabberd 
-- nethserver-faxweb2 
-- nethserver-fetchmail 
-- nethserver-firewall-base 
-- nethserver-hosts 
-- nethserver-httpd 
-- nethserver-httpd-admin 
-- nethserver-hylafax 
-- nethserver-iaxmodem 
-- nethserver-ibays 
-- nethserver-ipsec 
-- nethserver-lang 
-- nethserver-lib 
-- nethserver-libvirt 
-- nethserver-lightsquid 
-- nethserver-lsm 
-- nethserver-mail-common 
-- nethserver-mail-dev 
-- nethserver-mail-filter 
-- nethserver-mail-server 
-- nethserver-memcached 
-- nethserver-mock 
-- nethserver-mysql 
-- nethserver-nethforge-release 
-- nethserver-net-snmp 
-- nethserver-ntopng 
-- nethserver-ntp 
-- nethserver-nut !! 
-- nethserver-ocsinventory 
-- nethserver-openssh 
-- nethserver-openvpn 
-- nethserver-owncloud 
-- nethserver-p3scan 
-- nethserver-password 
-- nethserver-phonehome 
-- nethserver-php 
-- nethserver-postgresql 
-- nethserver-pulledpork 
-- nethserver-redis 
-- nethserver-release 
-- nethserver-restore-data 
-- nethserver-roundcubemail 
-- nethserver-samba 
-- nethserver-samba-audit !! 
-- nethserver-smartd 
-- nethserver-snort 
-- nethserver-sogo !! 
-- nethserver-sogo-thunderbird 
-- nethserver-squid 
-- nethserver-squidclamav !! 
-- nethserver-squidguard 
-- nethserver-tomcat 
-- nethserver-ui-examples 
-- nethserver-unbound 
-- nethserver-unixODBC 
-- nethserver-vpn 
-- nethserver-vsftpd 
-- nethserver-webtop4 
-- nethserver-webvirtmgr 
-- nethserver-wordpress 
-- nethserver-xinetd 
-- nethserver-yum 
- 
- 
-Legend: 
- 
-* ``!!`` merging master into v7 raises a conflict 
- 
-Packages are publised to  
- 
-http://​packages.nethserver.org/​nethserver/​7.2.1511/​base/​x86_64/​Packages/?​C=M;​O=D 
- 
-The list is ordered from the most recent to the oldest. 
  
  
Line 250: Line 127:
 ln -sf /​usr/​share/​zoneinfo/​Europe/​Rome /​etc/​localtime ln -sf /​usr/​share/​zoneinfo/​Europe/​Rome /​etc/​localtime
 </​file>​ </​file>​
-{{tag>howto}} +{{tag>userguide ht_testing}}