Git Product home page Git Product logo

moose's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

maxvint mikpim01

moose's Issues

重写 actions.upload

All scenes to upload

  1. 最常见的情况:单个文件夹下所有文件上一期任务
  2. 多个文件夹上一期任务
  3. 一次性多个文件夹上多期任务
  4. 一个文件夹下平均上到多期任务
  5. 不上传文件但是生成到容器的索引
  6. 找到所有文件,处理后上传:
    • 视频:抽帧
    • 图片:格式转换
    • 音频:pcm->wav, downsample, mono, 切割

Abstract config files

[upload]
root = 

How to locate files by blobname?

.files/
	2a/
		823446d2f806ae9f842156acc8b35d
	27/
		330c419a7d358098fedc4b09cdcb4b
		...
.index/
	20717
	20718
.config
2a/823446d2f806ae9f842156acc8b35d (md5 of file1)

$0/relpath/to/file1
# raw:intermediate1:intermediate2...
27330c419a7d358098fedc4b09cdcb4b:39dc4c419a7d358098fedc4b09cdcb4b
metadata(size, samplerate, channels...)
./index/20717

blob1: 2a823446d2f806ae9f842156acc8b35d  # 对应原始文件 or blob本地文件?
blob2: 27330c419a7d358098fedc4b09cdcb4b
.config

[upload]
0 = /local/path/to/root1
1 = /local/path/to/root2

  • 工具 moose-admin update-index root: 当原始文件的路径移动后根据md5值更新relpath

Refactors connections.query

Too many statements existed now, some of them should be removed and implemented in the subclassed apps not in the framework.

Overview of Moose 1.0

The first released stable version. Including the following features:

  • ACTIONS
    • defines a general-purpose and highly abstract procedure;
    • defines actions including upload/export/review/operate;
    • adds stats to collect info in an action;
    • adds check to verify each data model;
    • adds unit-test for all actions;
    • docs for base flows and settings;
  • MODELS
    • defines a data model covers the mostly used usage scenario:
  • CORE
    • adds unit-test and covers 85% code lines;
    • reviews all commands;
  • PROCESS
    • renames to toolbox;
    • moves download/stats/check in;
    • adds ffmpeg;
  • CONNECTION
    • removes cifs and statement;
    • refactors fetch;
    • adds more queries in query;
  • CONF
    • removes all not-used-yet settings;
  • UTILS
    • adds docs for mostly used functions;
  • DEMO
    • removes apps with highly similarity;
    • keeps at most 3 apps in different complexity;

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.