Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M manjaro-tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ToolsTools
  • development-tools
  • manjaro-tools
  • Merge requests
  • !255

[deployiso] reflect established sourceforge structure

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Bernhard Landauer requested to merge oberon-manjaro:deployiso into master Feb 07, 2017
  • Overview 3
  • Commits 7
  • Pipelines 0
  • Changes 5

By introducing a "development cycle" var, files will be uploaded to the correct project and directory, reflecting the established SF-projects and directory structure actually present and used by the team.

official development           --> manjarotest/$dist_release/$profile
official candidates or release --> manjarolinux/$dev_cycle/$dist_release/$profile
community                      --> manjarolinux-community/$dev_cycle/$dist_release/$profile
  • $dev_cycle is set in manjaro-tools.conf and defaults to 'development'.
  • check_dev_cycle() assures that var is valid.
  • deployiso -p <profile> -qv will return $dev_cycle under "REMOTE"
  • "UPLOAD QUEUE" output has been adjusted.
  • additional feedback of SF project when upload starts, like e.g.:
==> Start upload [i3] --> [manjarolinux-community] ...
  • create_release() ( deployiso -c ) will create remote directories accordingly.
  • default manjaro-tools.conf and README updated with the new variable.

I've tested deployiso including create_release with several settings and profiles.

examples: deployiso -p xfce -qv returns:

==> REMOTE:
  -> account: oberon2007
  -> host: sourceforge.net
  -> development cycle: development
==> UPLOAD QUEUE:
 --> Profile: [xfce]
  -> project: manjarotest
  -> src_dir: /home/bernhard/manjaro/iso/manjaro/17.0-beta2/xfce
  -> target_dir: 17.0-beta2/xfce

with $dev_cycle set to 'candidates':

==> UPLOAD QUEUE:
 --> Profile: [xfce]
  -> project: manjarolinux
  -> src_dir: /home/bernhard/manjaro/iso/manjaro/17.0-beta2/xfce
  -> target_dir: candidates/17.0-beta2/xfce

and with a community profile:

==> UPLOAD QUEUE:
 --> Profile: [cinnamon]
  -> project: manjarolinux-community
  -> src_dir: /home/bernhard/manjaro/iso/community/17.0-beta2/cinnamon
  -> target_dir: candidates/17.0-beta2/cinnamon

dev_cycle= set to rubbish in manjaro-tools.conf results in:

$ deployiso -p i3
==> ERROR: rubbish is not a valid development cycle!

😉 as it should be...

Here's a PKGBUILD for quick testing.

@udeved @philmmanjaro @ste74 @Kirek

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: oberon-manjaro:deployiso