Giter Club home page Giter Club logo

agiliarepo's People

Contributors

aix27249 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

agiliarepo's Issues

Git

There are some ideas to make abuilds-git prettier.

  1. Each repo is single branch. Git remote & branch may be specified in repo object.
  2. Abuilds with multiple packages: only main package name is real folder, all other package's folders is symlinks.
  3. Some kind of subfolders, probably for each short tag. Current tree is ambiguous and hard to work with. On the other hand, real folders with abuilds may be somewhere else, keeps current structure, for example all tree may be moved to some subfolder and in the root directory additional shorttag-subfolders with symlinks added.

Packages and repositories: data model

There are at least two possible models:

  1. Each package record contains info about where it belongs (current implementation)
  2. Each repository is a record itself, contains info about branches and subgroups, which stores a list of packages that belongs to it

Each approach has advantages and disadvantages.

Variant 1:

Advantages:

  1. All data about package is stored as one object. It is easy to retrieve packages filtered by repo: result will contain data itself
  2. If package is deleted, it automatically deletes from all repositories
  3. No need for separate collection

Disadvantages:

  1. Creating a repository clone requires update for all packages that belongs to it
  2. If package belongs to different branches in different repositories simultaneously, it is difficult to store such data within that model

Variant 2:

Advantages:

  1. Each repository is a separate object that contains package list only - easy to clone, easy to modify, easy to merge
  2. Updates does not touch package data
  3. Changes in different repositories are independent
  4. Branch and subgroup data is related only to specific repository - still not very easy, but a little bit simpler

Disadvantages:

  1. Retrieving package data itself requires two queries (or some kind of join)
  2. If package is deleted, it is necessary to find them in every repository's branch and subgroup and delete it from there.

UI: when using single module in multiple areas on one page, block IDs are not unique

In some cases, it's necessary to display same block more than once - for example, in #content and in #sidebar. Since blocks can be configured to display different stuff depending on its position, this approach seems to be useful.

The problem is that each block is displayed as div id="block-$blockname", which causes duplicate IDs. Most browsers can workaround this problem, but it is not ok.

Need to find a proper way to distinguish these IDs. Keep in mind that CSS often appeals to block itself, and do that already in a #block-$blockname way.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.